Model { Name "ac3_lat" Version 5.0 SaveDefaultBlockParams on SampleTimeColors off LibraryLinkDisplay "none" WideLines off ShowLineDimensions off ShowPortDataTypes off ShowLoopsOnError on IgnoreBidirectionalLines off ShowStorageClass off ExecutionOrder off RecordCoverage off CovPath "/" CovSaveName "covdata" CovMetricSettings "dw" CovNameIncrementing off CovHtmlReporting on covSaveCumulativeToWorkspaceVar on CovSaveSingleToWorkspaceVar on CovCumulativeVarName "covCumulativeData" CovCumulativeReport off DataTypeOverride "UseLocalSettings" MinMaxOverflowLogging "UseLocalSettings" MinMaxOverflowArchiveMode "Overwrite" BlockNameDataTip off BlockParametersDataTip off BlockDescriptionStringDataTip off ToolBar on StatusBar on BrowserShowLibraryLinks off BrowserLookUnderMasks off Created "Mon Oct 18 19:12:51 2004" UpdateHistory "UpdateHistoryNever" ModifiedByFormat "%" LastModifiedBy "jonathan How" ModifiedDateFormat "%" LastModifiedDate "Thu Nov 04 09:26:28 2004" ModelVersionFormat "1.%" ConfigurationManager "None" SimParamPage "Solver" LinearizationMsg "none" Profile off ParamWorkspaceSource "MATLABWorkspace" AccelSystemTargetFile "accel.tlc" AccelTemplateMakefile "accel_default_tmf" AccelMakeCommand "make_rtw" TryForcingSFcnDF off ExtModeMexFile "ext_comm" ExtModeBatchMode off ExtModeTrigType "manual" ExtModeTrigMode "normal" ExtModeTrigPort "1" ExtModeTrigElement "any" ExtModeTrigDuration 1000 ExtModeTrigHoldOff 0 ExtModeTrigDelay 0 ExtModeTrigDirection "rising" ExtModeTrigLevel 0 ExtModeArchiveMode "off" ExtModeAutoIncOneShot off ExtModeIncDirWhenArm off ExtModeAddSuffixToVar off ExtModeWriteAllDataToWs off ExtModeArmWhenConnect on ExtModeSkipDownloadWhenConnect off ExtModeLogAll on ExtModeAutoUpdateStatusClock on BufferReuse on RTWExpressionDepthLimit 5 SimulationMode "normal" Solver "ode45" SolverMode "Auto" StartTime "0.0" StopTime "1000" MaxOrder 5 MaxStep "auto" MinStep "auto" MaxNumMinSteps "-1" InitialStep "auto" FixedStep "auto" RelTol "1e-3" AbsTol "auto" OutputOption "RefineOutputTimes" OutputTimes "[]" Refine "1" LoadExternalInput off ExternalInput "[t, u]" LoadInitialState off InitialState "xInitial" SaveTime on TimeSaveName "tout" SaveState off StateSaveName "xout" SaveOutput on OutputSaveName "yout" SaveFinalState off FinalStateName "xFinal" SaveFormat "Array" Decimation "1" LimitDataPoints on MaxDataPoints "1000" SignalLoggingName "sigsOut" ConsistencyChecking "none" ArrayBoundsChecking "none" AlgebraicLoopMsg "warning" BlockPriorityViolationMsg "warning" MinStepSizeMsg "warning" InheritedTsInSrcMsg "warning" DiscreteInheritContinuousMsg "warning" MultiTaskRateTransMsg "error" SingleTaskRateTransMsg "none" CheckForMatrixSingularity "none" IntegerOverflowMsg "warning" Int32ToFloatConvMsg "warning" ParameterDowncastMsg "error" ParameterOverflowMsg "error" ParameterPrecisionLossMsg "warning" UnderSpecifiedDataTypeMsg "none" UnnecessaryDatatypeConvMsg "none" VectorMatrixConversionMsg "none" InvalidFcnCallConnMsg "error" SignalLabelMismatchMsg "none" UnconnectedInputMsg "warning" UnconnectedOutputMsg "warning" UnconnectedLineMsg "warning" SfunCompatibilityCheckMsg "none" RTWInlineParameters off BlockReductionOpt on BooleanDataType on ConditionallyExecuteInputs on ParameterPooling on OptimizeBlockIOStorage on ZeroCross on AssertionControl "UseLocalSettings" ProdHWDeviceType "Microprocessor" ProdHWWordLengths "8,16,32,32" RTWSystemTargetFile "grt.tlc" RTWTemplateMakefile "grt_default_tmf" RTWMakeCommand "make_rtw" RTWGenerateCodeOnly off RTWRetainRTWFile off TLCProfiler off TLCDebug off TLCCoverage off TLCAssertion off BlockDefaults { Orientation "right" ForegroundColor "black" BackgroundColor "white" DropShadow off NamePlacement "normal" FontName "Helvetica" FontSize 10 FontWeight "normal" FontAngle "normal" ShowName on } BlockParameterDefaults { Block { BlockType Clock DisplayTime off } Block { BlockType Constant Value "1" VectorParams1D on ShowAdditionalParam off OutDataTypeMode "Inherit from 'Constant value'" OutDataType "sfix(16)" ConRadixGroup "Use specified scaling" OutScaling "2^0" } Block { BlockType Demux Outputs "4" DisplayOption "none" BusSelectionMode off } Block { BlockType Gain Gain "1" Multiplication "Element-wise(K.*u)" ShowAdditionalParam off ParameterDataTypeMode "Same as input" ParameterDataType "sfix(16)" ParameterScalingMode "Best Precision: Matrix-wise" ParameterScaling "2^0" OutDataTypeMode "Same as input" OutDataType "sfix(16)" OutScaling "2^0" LockScale off RndMeth "Floor" SaturateOnIntegerOverflow on } Block { BlockType Inport Port "1" PortDimensions "-1" SampleTime "-1" ShowAdditionalParam off LatchInput off DataType "auto" OutDataType "sfix(16)" OutScaling "2^0" SignalType "auto" SamplingMode "auto" Interpolate on } Block { BlockType Integrator ExternalReset "none" InitialConditionSource "internal" InitialCondition "0" LimitOutput off UpperSaturationLimit "inf" LowerSaturationLimit "-inf" ShowSaturationPort off ShowStatePort off AbsoluteTolerance "auto" ZeroCross on } Block { BlockType Mux Inputs "4" DisplayOption "none" } Block { BlockType Outport Port "1" OutputWhenDisabled "held" InitialOutput "[]" } Block { BlockType Product Inputs "2" Multiplication "Element-wise(.*)" ShowAdditionalParam off InputSameDT on OutDataTypeMode "Same as first input" OutDataType "sfix(16)" OutScaling "2^0" LockScale off RndMeth "Floor" SaturateOnIntegerOverflow on } Block { BlockType Saturate UpperLimit "0.5" LowerLimit "-0.5" LinearizeAsGain on ZeroCross on } Block { BlockType Scope Floating off ModelBased off TickLabels "OneTimeTick" ZoomMode "on" Grid "on" TimeRange "auto" YMin "-5" YMax "5" SaveToWorkspace off SaveName "ScopeData" LimitDataPoints on MaxDataPoints "5000" Decimation "1" SampleInput off SampleTime "0" } Block { BlockType "S-Function" FunctionName "system" PortCounts "[]" SFunctionModules "''" } Block { BlockType SignalGenerator WaveForm "sine" Amplitude "1" Frequency "1" Units "Hertz" VectorParams1D on } Block { BlockType StateSpace A "1" B "1" C "1" D "1" X0 "0" AbsoluteTolerance "auto" Realization "auto" } Block { BlockType SubSystem ShowPortLabels on Permissions "ReadWrite" RTWSystemCode "Auto" RTWFcnNameOpts "Auto" RTWFileNameOpts "Auto" SimViewingDevice off DataTypeOverride "UseLocalSettings" MinMaxOverflowLogging "UseLocalSettings" } Block { BlockType Sum IconShape "rectangular" Inputs "++" ShowAdditionalParam off InputSameDT on OutDataTypeMode "Same as first input" OutDataType "sfix(16)" OutScaling "2^0" LockScale off RndMeth "Floor" SaturateOnIntegerOverflow on } Block { BlockType ToWorkspace VariableName "simulink_output" MaxDataPoints "1000" Decimation "1" SampleTime "0" } Block { BlockType TransferFcn Numerator "[1]" Denominator "[1 2 1]" AbsoluteTolerance "auto" Realization "auto" } } AnnotationDefaults { HorizontalAlignment "center" VerticalAlignment "middle" ForegroundColor "black" BackgroundColor "white" DropShadow off FontName "Helvetica" FontSize 10 FontWeight "normal" FontAngle "normal" } LineDefaults { FontName "Helvetica" FontSize 9 FontWeight "normal" FontAngle "normal" } System { Name "ac3_lat" Location [-1456, 86, -67, 755] Open on ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "99" ReportName "simulink-default.rpt" Block { BlockType Reference Name "6DoF Animation" Ports [2] Position [1290, 346, 1365, 424] FontSize 10 SourceBlock "aerolibanim/6DoF Animation" SourceType "6DoF_Animation" u1 "[0 4000 -6000 2000 -5000 -3000]" u2 "0.1" u3 "10" u4 "[4000 0 -5000]" u5 "Fly alongside" u6 "[-100 0 -10]" u7 "10" u8 on } Block { BlockType TransferFcn Name "Aileron Dynamics" Position [640, 285, 700, 325] NamePlacement "alternate" Numerator "JNa" Denominator "JDa" } Block { BlockType Gain Name "Banking mix" Position [375, 279, 400, 321] Gain "rgain" } Block { BlockType Gain Name "Banking mix1" Position [975, 371, 1010, 409] Gain "U0*cos(theta0)" } Block { BlockType Gain Name "Banking mix2" Position [1080, 456, 1115, 494] Gain "-1" } Block { BlockType Clock Name "Clock" Position [115, 115, 135, 135] ForegroundColor "green" Decimation "10" Port { PortNumber 1 Name "time" TestPoint off LinearAnalysisOutput off LinearAnalysisInput off RTWStorageClass "Auto" DataLogging off DataLoggingNameMode "SignalName" DataLoggingDecimateData off DataLoggingDecimation "2" DataLoggingLimitDataPoints off DataLoggingMaxPoints "5000" } } Block { BlockType Constant Name "Constant" Position [520, 350, 540, 370] Value "0" } Block { BlockType Demux Name "Demux" Ports [1, 5] Position [905, 279, 910, 401] ForegroundColor "blue" ShowName off Outputs "5" Port { PortNumber 1 Name "v" TestPoint off LinearAnalysisOutput off LinearAnalysisInput off RTWStorageClass "Auto" DataLogging off DataLoggingNameMode "SignalName" DataLoggingDecimateData off DataLoggingDecimation "2" DataLoggingLimitDataPoints off DataLoggingMaxPoints "5000" } Port { PortNumber 2 Name "p" TestPoint off LinearAnalysisOutput off LinearAnalysisInput off RTWStorageClass "Auto" DataLogging off DataLoggingNameMode "SignalName" DataLoggingDecimateData off DataLoggingDecimation "2" DataLoggingLimitDataPoints off DataLoggingMaxPoints "5000" } Port { PortNumber 3 Name "r" TestPoint off LinearAnalysisOutput off LinearAnalysisInput off RTWStorageClass "Auto" DataLogging off DataLoggingNameMode "SignalName" DataLoggingDecimateData off DataLoggingDecimation "2" DataLoggingLimitDataPoints off DataLoggingMaxPoints "5000" } Port { PortNumber 4 Name "phi" TestPoint off LinearAnalysisOutput off LinearAnalysisInput off RTWStorageClass "Auto" DataLogging off DataLoggingNameMode "SignalName" DataLoggingDecimateData off DataLoggingDecimation "2" DataLoggingLimitDataPoints off DataLoggingMaxPoints "5000" } Port { PortNumber 5 Name "psi" TestPoint off LinearAnalysisOutput off LinearAnalysisInput off RTWStorageClass "Auto" DataLogging off DataLoggingNameMode "SignalName" DataLoggingDecimateData off DataLoggingDecimation "2" DataLoggingLimitDataPoints off DataLoggingMaxPoints "5000" } } Block { BlockType Gain Name "Gain" Position [525, 295, 565, 325] Gain "Kphi" } Block { BlockType Gain Name "Gain1" Position [190, 110, 220, 140] ShowName off Gain "U0" Port { PortNumber 1 Name "xe" TestPoint off LinearAnalysisOutput off LinearAnalysisInput off RTWStorageClass "Auto" DataLogging off DataLoggingNameMode "SignalName" DataLoggingDecimateData off DataLoggingDecimation "2" DataLoggingLimitDataPoints off DataLoggingMaxPoints "5000" } } Block { BlockType Gain Name "Gain3" Position [125, 365, 170, 405] ShowName off Gain "1/U0/tau_2" } Block { BlockType Integrator Name "Integrator" Ports [1, 1] Position [1085, 370, 1115, 400] Port { PortNumber 1 Name "ye" TestPoint off LinearAnalysisOutput off LinearAnalysisInput off RTWStorageClass "Auto" DataLogging off DataLoggingNameMode "SignalName" DataLoggingDecimateData off DataLoggingDecimation "2" DataLoggingLimitDataPoints off DataLoggingMaxPoints "5000" } } Block { BlockType Gain Name "Kp" Position [800, 242, 830, 268] Orientation "left" Gain "Kphi/1.5" } Block { BlockType Reference Name "Lateral" Ports [1, 1] Position [770, 322, 865, 358] SourceBlock "cstblocks/LTI System" SourceType "LTI Block" sys "syslat2" IC "0" Port { PortNumber 1 Name "all data" TestPoint off LinearAnalysisOutput off LinearAnalysisInput off RTWStorageClass "Auto" DataLogging off DataLoggingNameMode "SignalName" DataLoggingDecimateData off DataLoggingDecimation "2" DataLoggingLimitDataPoints off DataLoggingMaxPoints "5000" } } Block { BlockType Mux Name "Mux" Ports [2, 1] Position [730, 313, 755, 362] ForegroundColor "blue" ShowName off Inputs "2" } Block { BlockType Mux Name "Mux1" Ports [3, 1] Position [1235, 481, 1280, 519] ForegroundColor "blue" ShowName off Inputs "3" } Block { BlockType Mux Name "Mux2" Ports [3, 1] Position [1200, 336, 1245, 374] ForegroundColor "blue" ShowName off Inputs "3" } Block { BlockType Mux Name "Mux3" Ports [6, 1] Position [1060, 28, 1080, 102] ShowName off Inputs "6" } Block { BlockType Mux Name "Mux4" Ports [2, 1] Position [1140, 197, 1175, 233] ShowName off Inputs "2" DisplayOption "signals" } Block { BlockType Scope Name "Path1" Ports [1] Position [1190, 199, 1220, 231] Location [296, 743, 1093, 982] Open on NumInputPorts "1" List { ListType AxesTitles axes1 "%" } List { ListType SelectedSignals axes1 "" } TimeRange "1000 " YMin "-8000" YMax "9000" SaveName "ScopeData1" DataFormat "StructureWithTime" } Block { BlockType Scope Name "Path2" Ports [1] Position [1335, 534, 1365, 566] Location [584, 264, 1381, 690] Open on NumInputPorts "1" List { ListType AxesTitles axes1 "%" } List { ListType SelectedSignals axes1 "" } TimeRange "1000 " YMin "-0.5" YMax "1.4" DataFormat "StructureWithTime" } Block { BlockType Product Name "Product" Ports [2, 1] Position [245, 117, 275, 148] ShowName off } Block { BlockType Constant Name "Psi_ref" Position [15, 190, 60, 210] Value "2*pi/180" } Block { BlockType TransferFcn Name "Rudder Dynamics" Position [640, 350, 700, 390] NamePlacement "alternate" Numerator "JNr" Denominator "JDr" } Block { BlockType Saturate Name "Saturation" Position [420, 285, 450, 315] UpperLimit "30*pi/180" LowerLimit "-30*pi/180" Port { PortNumber 1 Name "Phi_comm" TestPoint off LinearAnalysisOutput off LinearAnalysisInput off RTWStorageClass "Auto" DataLogging off DataLoggingNameMode "SignalName" DataLoggingDecimateData off DataLoggingDecimation "2" DataLoggingLimitDataPoints off DataLoggingMaxPoints "5000" } } Block { BlockType SignalGenerator Name "Signal\nGenerator" Position [20, 120, 50, 150] WaveForm "square" Amplitude "3*pi/180" Frequency ".015" Units "rad/sec" } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [590, 288, 615, 317] ShowName off Inputs "-+" } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [475, 292, 505, 323] ShowName off Inputs "+-" } Block { BlockType Sum Name "Sum2" Ports [2, 1] Position [585, 352, 615, 383] ShowName off } Block { BlockType Sum Name "Sum3" Ports [2, 1] Position [1155, 437, 1185, 468] ForegroundColor "cyan" ShowName off } Block { BlockType Sum Name "Sum4" Ports [2, 1] Position [325, 282, 355, 313] NamePlacement "alternate" ShowName off Inputs "+-" } Block { BlockType Sum Name "Sum5" Ports [2, 1] Position [75, 367, 105, 398] ShowName off Inputs "+-" } Block { BlockType Sum Name "Sum6" Ports [2, 1] Position [305, 117, 335, 148] ForegroundColor "cyan" ShowName off Port { PortNumber 1 Name "desired path" TestPoint off LinearAnalysisOutput off LinearAnalysisInput off RTWStorageClass "Auto" DataLogging off DataLoggingNameMode "SignalName" DataLoggingDecimateData off DataLoggingDecimation "2" DataLoggingLimitDataPoints off DataLoggingMaxPoints "5000" } } Block { BlockType Sum Name "Sum7" Ports [2, 1] Position [245, 272, 275, 303] ShowName off Port { PortNumber 1 Name "Psi_d" TestPoint off LinearAnalysisOutput off LinearAnalysisInput off RTWStorageClass "Auto" DataLogging off DataLoggingNameMode "SignalName" DataLoggingDecimateData off DataLoggingDecimation "2" DataLoggingLimitDataPoints off DataLoggingMaxPoints "5000" } } Block { BlockType Sum Name "Sum8" Ports [2, 1] Position [110, 162, 140, 193] ShowName off Port { PortNumber 1 Name "psi_ref" TestPoint off LinearAnalysisOutput off LinearAnalysisInput off RTWStorageClass "Auto" DataLogging off DataLoggingNameMode "SignalName" DataLoggingDecimateData off DataLoggingDecimation "2" DataLoggingLimitDataPoints off DataLoggingMaxPoints "5000" } } Block { BlockType Sum Name "Sum9" Ports [2, 1] Position [1035, 367, 1065, 398] ShowName off } Block { BlockType ToWorkspace Name "To Workspace" Position [1095, 50, 1155, 80] VariableName "ac3out" MaxDataPoints "inf" SampleTime "-1" SaveFormat "Array" } Block { BlockType TransferFcn Name "Washout FIlter" Position [795, 410, 855, 450] Orientation "left" NamePlacement "alternate" Numerator "Nwash" Denominator "Dwash" } Block { BlockType Constant Name "Z" Position [1155, 365, 1175, 385] Value "-4000" } Block { BlockType Constant Name "path offset" Position [185, 205, 230, 225] Value "-5000" } Block { BlockType Constant Name "theta" Position [1185, 490, 1205, 510] Value "0" } Block { BlockType Constant Name "theta1" Position [1090, 425, 1110, 445] Value "45*pi/180" } Line { SrcBlock "Aileron Dynamics" SrcPort 1 Points [10, 0] DstBlock "Mux" DstPort 1 } Line { SrcBlock "Rudder Dynamics" SrcPort 1 Points [10, 0] DstBlock "Mux" DstPort 2 } Line { SrcBlock "Mux" SrcPort 1 DstBlock "Lateral" DstPort 1 } Line { Name "all data" Labels [0, 0] SrcBlock "Lateral" SrcPort 1 Points [0, 0] Branch { DstBlock "Demux" DstPort 1 } Branch { Labels [1, 0] Points [0, -290] DstBlock "Mux3" DstPort 2 } } Line { Name "r" Labels [0, 0] SrcBlock "Demux" SrcPort 3 Points [20, 0; 0, 90] DstBlock "Washout FIlter" DstPort 1 } Line { SrcBlock "Constant" SrcPort 1 DstBlock "Sum2" DstPort 1 } Line { SrcBlock "Sum2" SrcPort 1 DstBlock "Rudder Dynamics" DstPort 1 } Line { SrcBlock "Washout FIlter" SrcPort 1 Points [-220, 0] DstBlock "Sum2" DstPort 2 } Line { Name "p" Labels [0, 0] SrcBlock "Demux" SrcPort 2 Points [55, 0; 0, -60] DstBlock "Kp" DstPort 1 } Line { SrcBlock "Kp" SrcPort 1 Points [-225, 0; 0, 40] DstBlock "Sum" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 DstBlock "Aileron Dynamics" DstPort 1 } Line { Name "phi" SrcBlock "Demux" SrcPort 4 Points [10, 0] Branch { Labels [1, 0] Points [15, 0; 0, 120; -480, 0] DstBlock "Sum1" DstPort 2 } Branch { Points [0, 110] DstBlock "Banking mix2" DstPort 1 } } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { Name "v" Labels [0, 0] SrcBlock "Demux" SrcPort 1 Points [105, 0] DstBlock "Sum9" DstPort 1 } Line { Name "psi" Labels [0, 0] SrcBlock "Demux" SrcPort 5 Points [5, 0] Branch { Points [25, 0] Branch { Labels [4, 0] Points [5, 0; 0, 140; -640, 0] DstBlock "Sum4" DstPort 2 } Branch { DstBlock "Banking mix1" DstPort 1 } } Branch { Points [0, 120] DstBlock "Mux1" DstPort 3 } } Line { SrcBlock "Gain" SrcPort 1 DstBlock "Sum" DstPort 2 } Line { SrcBlock "Sum4" SrcPort 1 DstBlock "Banking mix" DstPort 1 } Line { SrcBlock "Banking mix" SrcPort 1 DstBlock "Saturation" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 Points [10, 0] DstBlock "Sum6" DstPort 1 } Line { SrcBlock "Psi_ref" SrcPort 1 Points [30, 0] DstBlock "Sum8" DstPort 2 } Line { SrcBlock "Signal\nGenerator" SrcPort 1 Points [25, 0; 0, 35] DstBlock "Sum8" DstPort 1 } Line { Name "time" Labels [1, 0] SrcBlock "Clock" SrcPort 1 Points [30, 0] Branch { DstBlock "Gain1" DstPort 1 } Branch { Points [0, -85] DstBlock "Mux3" DstPort 1 } } Line { Name "xe" SrcBlock "Gain1" SrcPort 1 Points [5, 0] Branch { DstBlock "Product" DstPort 1 } Branch { Points [0, 220] DstBlock "Mux2" DstPort 1 } } Line { SrcBlock "path offset" SrcPort 1 Points [55, 0] DstBlock "Sum6" DstPort 2 } Line { Name "desired path" SrcBlock "Sum6" SrcPort 1 Points [0, 5] Branch { Labels [2, 0] Points [0, 110; -280, 0] DstBlock "Sum5" DstPort 1 } Branch { Labels [2, 0] Points [0, -25; 680, 0] Branch { Points [105, 0] DstBlock "Mux4" DstPort 1 } Branch { Points [0, -55] DstBlock "Mux3" DstPort 3 } } } Line { Name "psi_ref" SrcBlock "Sum8" SrcPort 1 Points [0, 0; 15, 0] Branch { Labels [2, 0] Points [0, 100] DstBlock "Sum7" DstPort 1 } Branch { Points [70, 0] DstBlock "Product" DstPort 2 } } Line { Name "Psi_d" Labels [0, 0] SrcBlock "Sum7" SrcPort 1 Points [20, 0] Branch { DstBlock "Sum4" DstPort 1 } Branch { Labels [4, 0] Points [0, -20; 65, 0; 0, -100; 460, 0; 0, -90] DstBlock "Mux3" DstPort 5 } } Line { SrcBlock "Sum5" SrcPort 1 DstBlock "Gain3" DstPort 1 } Line { SrcBlock "Gain3" SrcPort 1 Points [0, -90] DstBlock "Sum7" DstPort 2 } Line { SrcBlock "Banking mix1" SrcPort 1 DstBlock "Sum9" DstPort 2 } Line { SrcBlock "Sum9" SrcPort 1 DstBlock "Integrator" DstPort 1 } Line { Name "ye" SrcBlock "Integrator" SrcPort 1 Points [5, 0] Branch { Labels [1, 0] Points [0, 155; -1065, 0] DstBlock "Sum5" DstPort 2 } Branch { Points [0, -70] Branch { Points [0, -60] Branch { DstBlock "Mux4" DstPort 2 } Branch { Points [0, -5; -95, 0; 0, -180] DstBlock "Mux3" DstPort 4 } } Branch { Points [0, 40] DstBlock "Mux2" DstPort 2 } } } Line { SrcBlock "Mux4" SrcPort 1 DstBlock "Path1" DstPort 1 } Line { SrcBlock "Mux3" SrcPort 1 DstBlock "To Workspace" DstPort 1 } Line { Name "Phi_comm" Labels [0, 0] SrcBlock "Saturation" SrcPort 1 Points [5, 0] Branch { DstBlock "Sum1" DstPort 1 } Branch { Labels [2, 0] Points [0, -80; 585, 0] DstBlock "Mux3" DstPort 6 } } Line { SrcBlock "Mux1" SrcPort 1 Points [0, -15] Branch { Points [0, -45; -10, 0] DstBlock "6DoF Animation" DstPort 2 } Branch { Points [0, 65] DstBlock "Path2" DstPort 1 } } Line { SrcBlock "Z" SrcPort 1 Points [0, -10] DstBlock "Mux2" DstPort 3 } Line { SrcBlock "Mux2" SrcPort 1 Points [10, 0; 0, 10] DstBlock "6DoF Animation" DstPort 1 } Line { SrcBlock "theta" SrcPort 1 DstBlock "Mux1" DstPort 2 } Line { SrcBlock "Banking mix2" SrcPort 1 Points [20, 0] DstBlock "Sum3" DstPort 2 } Line { SrcBlock "theta1" SrcPort 1 Points [25, 0] DstBlock "Sum3" DstPort 1 } Line { SrcBlock "Sum3" SrcPort 1 Points [30, 0] DstBlock "Mux1" DstPort 1 } } }