Model { Name "tankmmo" Version 3.00 SimParamPage "Solver" SampleTimeColors off InvariantConstants off WideVectorLines off ShowLineWidths off ShowPortDataTypes off StartTime "0.0" StopTime "100.0" SolverMode "Auto" Solver "ode45" RelTol "1e-3" AbsTol "auto" Refine "1" MaxStep "auto" InitialStep "auto" FixedStep "auto" MaxOrder 5 OutputOption "RefineOutputTimes" OutputTimes "[]" LoadExternalInput off ExternalInput "[t, u]" SaveTime on TimeSaveName "tout" SaveState off StateSaveName "xout" SaveOutput on OutputSaveName "yout" LoadInitialState off InitialState "xInitial" SaveFinalState off FinalStateName "xFinal" SaveFormat "Matrix" LimitMaxRows off MaxRows "1000" Decimation "1" AlgebraicLoopMsg "warning" MinStepSizeMsg "warning" UnconnectedInputMsg "warning" UnconnectedOutputMsg "warning" UnconnectedLineMsg "warning" InheritedTsInSrcMsg "warning" IntegerOverflowMsg "warning" UnnecessaryDatatypeConvMsg "none" Int32ToFloatConvMsg "warning" SignalLabelMismatchMsg "none" ConsistencyChecking "off" ZeroCross on SimulationMode "normal" BlockDataTips on BlockParametersDataTip on BlockAttributesDataTip off BlockPortWidthsDataTip off BlockDescriptionStringDataTip off BlockMaskParametersDataTip off ToolBar on StatusBar on BrowserShowLibraryLinks off BrowserLookUnderMasks off OptimizeBlockIOStorage on BufferReuse on BooleanDataType off RTWSystemTargetFile "grt.tlc" RTWInlineParameters off RTWRetainRTWFile off RTWTemplateMakefile "grt_default_tmf" RTWMakeCommand "make_rtw" RTWGenerateCodeOnly off ExtModeMexFile "ext_comm" ExtModeBatchMode off ExtModeTrigType "manual" ExtModeTrigMode "oneshot" 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 off Created "Thu Dec 02 17:20:25 1999" UpdateHistory "UpdateHistoryNever" ModifiedByFormat "%" ModifiedDateFormat "%" LastModifiedDate "Thu Dec 02 21:23:40 1999" ModelVersionFormat "1.%" ConfigurationManager "none" BlockDefaults { Orientation "right" ForegroundColor "black" BackgroundColor "white" DropShadow off NamePlacement "normal" FontName "Helvetica" FontSize 10 FontWeight "normal" FontAngle "normal" ShowName on } 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 "tankmmo" Location [268, 89, 752, 484] Open on ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "automatic" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" AutoZoom on ReportName "simulink-default.rpt" Block { BlockType Constant Name "Constant" Position [20, 60, 50, 90] Value "0.5" } Block { BlockType Mux Name "Mux" Ports [2, 1, 0, 0, 0] Position [240, 51, 245, 89] ShowName off Inputs "2" DisplayOption "bar" } Block { BlockType Mux Name "Mux1" Ports [2, 1, 0, 0, 0] Position [270, 151, 275, 189] ShowName off Inputs "2" DisplayOption "bar" } Block { BlockType Mux Name "Mux2" Ports [2, 1, 0, 0, 0] Position [290, 231, 295, 269] ShowName off Inputs "2" DisplayOption "bar" } Block { BlockType Mux Name "Mux3" Ports [4, 1, 0, 0, 0] Position [420, 231, 425, 269] ShowName off Inputs "4" DisplayOption "bar" } Block { BlockType Mux Name "Mux4" Ports [2, 1, 0, 0, 0] Position [320, 311, 325, 349] ShowName off Inputs "2" DisplayOption "bar" } Block { BlockType Mux Name "Mux5" Ports [5, 1, 0, 0, 0] Position [415, 146, 420, 184] ShowName off Inputs "5" DisplayOption "bar" Port { PortNumber 1 Name "h" TestPoint off RTWStorageClass "Auto" } } Block { BlockType Mux Name "Mux6" Ports [2, 1, 0, 0, 0] Position [345, 396, 350, 434] ShowName off Inputs "2" DisplayOption "bar" } Block { BlockType Scope Name "Scope" Ports [1, 0, 0, 0, 0] Position [300, 39, 330, 71] Floating off Location [5, 339, 329, 578] Open off NumInputPorts "1" TickLabels "OneTimeTick" ZoomMode "on" List { ListType AxesTitles axes1 "%" } Grid "on" TimeRange "auto" YMin "-5" YMax "5" SaveToWorkspace off SaveName "ScopeData" DataFormat "StructureWithTime" LimitMaxRows on MaxRows "5000" Decimation "1" SampleInput off SampleTime "0" } Block { BlockType Scope Name "Scope1" Ports [1, 0, 0, 0, 0] Position [315, 154, 345, 186] Floating off Location [180, 346, 504, 585] Open off NumInputPorts "1" TickLabels "OneTimeTick" ZoomMode "on" List { ListType AxesTitles axes1 "%" } Grid "on" TimeRange "auto" YMin "-5" YMax "5" SaveToWorkspace off SaveName "ScopeData" DataFormat "StructureWithTime" LimitMaxRows on MaxRows "5000" Decimation "1" SampleInput off SampleTime "0" } Block { BlockType Scope Name "Scope2" Ports [1, 0, 0, 0, 0] Position [335, 234, 365, 266] Floating off Location [375, 352, 699, 591] Open off NumInputPorts "1" TickLabels "OneTimeTick" ZoomMode "on" List { ListType AxesTitles axes1 "%" } Grid "on" TimeRange "auto" YMin "-5" YMax "5" SaveToWorkspace off SaveName "ScopeData" DataFormat "StructureWithTime" LimitMaxRows on MaxRows "5000" Decimation "1" SampleInput off SampleTime "0" } Block { BlockType Scope Name "Scope3" Ports [1, 0, 0, 0, 0] Position [455, 234, 485, 266] Floating off Location [22, 337, 346, 576] Open on NumInputPorts "1" TickLabels "OneTimeTick" ZoomMode "on" List { ListType AxesTitles axes1 "%" } Grid "on" TimeRange "auto" YMin "-5" YMax "5" SaveToWorkspace off SaveName "ScopeData" DataFormat "StructureWithTime" LimitMaxRows on MaxRows "5000" Decimation "1" SampleInput off SampleTime "0" } Block { BlockType Scope Name "Scope4" Ports [1, 0, 0, 0, 0] Position [365, 314, 395, 346] Floating off Location [375, 352, 699, 591] Open off NumInputPorts "1" TickLabels "OneTimeTick" ZoomMode "on" List { ListType AxesTitles axes1 "%" } Grid "on" TimeRange "auto" YMin "-5" YMax "5" SaveToWorkspace off SaveName "ScopeData" DataFormat "StructureWithTime" LimitMaxRows on MaxRows "5000" Decimation "1" SampleInput off SampleTime "0" } Block { BlockType Scope Name "Scope5" Ports [1, 0, 0, 0, 0] Position [450, 149, 480, 181] Floating off Location [22, 25, 346, 525] Open on NumInputPorts "1" TickLabels "OneTimeTick" ZoomMode "on" List { ListType AxesTitles axes1 "%" } Grid "on" TimeRange "100" YMin "0" YMax "1.5" SaveToWorkspace off SaveName "ScopeData" DataFormat "StructureWithTime" LimitMaxRows on MaxRows "5000" Decimation "1" SampleInput off SampleTime "0" } Block { BlockType Scope Name "Scope6" Ports [1, 0, 0, 0, 0] Position [390, 399, 420, 431] Floating off Location [375, 352, 699, 591] Open off NumInputPorts "1" TickLabels "OneTimeTick" ZoomMode "on" List { ListType AxesTitles axes1 "%" } Grid "on" TimeRange "auto" YMin "-5" YMax "5" SaveToWorkspace off SaveName "ScopeData" DataFormat "StructureWithTime" LimitMaxRows on MaxRows "5000" Decimation "1" SampleInput off SampleTime "0" } Block { BlockType SubSystem Name "Subsystem" Ports [1, 3, 0, 0, 0] Position [120, 49, 150, 101] ShowPortLabels on Port { PortNumber 2 Name "h1" TestPoint off RTWStorageClass "Auto" } System { Name "Subsystem" Location [124, 137, 637, 307] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "automatic" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" AutoZoom on Block { BlockType Inport Name "In1" Position [25, 28, 55, 42] ShowName off Port "1" PortWidth "-1" SampleTime "-1" DataType "auto" SignalType "auto" Interpolate on } Block { BlockType Gain Name "Gain" Position [150, 30, 180, 60] Gain "0.5" SaturateOnIntegerOverflow on } Block { BlockType Gain Name "Gain1" Position [345, 28, 410, 62] Gain "0.1*sqrt(19.6)" SaturateOnIntegerOverflow on } Block { BlockType Gain Name "Gain2" Position [350, 123, 415, 157] Gain "0.03*sqrt(19.6)" SaturateOnIntegerOverflow on } Block { BlockType Integrator Name "Integrator" Ports [1, 1, 0, 0, 0] Position [215, 30, 245, 60] ExternalReset "none" InitialConditionSource "internal" InitialCondition "1" LimitOutput off UpperSaturationLimit "inf" LowerSaturationLimit "-inf" ShowSaturationPort off ShowStatePort off AbsoluteTolerance "auto" } Block { BlockType Math Name "Math\nFunction" Ports [1, 1, 0, 0, 0] Position [290, 30, 320, 60] Operator "sqrt" OutputSignalType "auto" } Block { BlockType Sum Name "Sum" Ports [3, 1, 0, 0, 0] Position [80, 34, 100, 56] ShowName off IconShape "rectangular" Inputs "+--" SaturateOnIntegerOverflow on } Block { BlockType Outport Name "q" Position [445, 38, 475, 52] Port "1" OutputWhenDisabled "held" InitialOutput "[]" } Block { BlockType Outport Name "h" Position [275, 133, 305, 147] Port "2" OutputWhenDisabled "held" InitialOutput "[]" } Block { BlockType Outport Name "m1" Position [445, 133, 475, 147] Port "3" OutputWhenDisabled "held" InitialOutput "[]" } Line { SrcBlock "Gain" SrcPort 1 DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 Points [5, 0] DstBlock "Sum" DstPort 1 } Line { SrcBlock "Gain1" SrcPort 1 Points [10, 0] Branch { DstBlock "q" DstPort 1 } Branch { Points [0, 55; -360, 0] DstBlock "Sum" DstPort 2 } } Line { SrcBlock "Integrator" SrcPort 1 Points [10, 0] Branch { DstBlock "Math\nFunction" DstPort 1 } Branch { DstBlock "h" DstPort 1 } } Line { SrcBlock "Math\nFunction" SrcPort 1 Points [5, 0] Branch { DstBlock "Gain1" DstPort 1 } Branch { Points [0, 95] DstBlock "Gain2" DstPort 1 } } Line { SrcBlock "Gain2" SrcPort 1 Points [0, 0] Branch { Points [0, -15; -355, 0] DstBlock "Sum" DstPort 3 } Branch { DstBlock "m1" DstPort 1 } } } } Block { BlockType SubSystem Name "Subsystem1" Ports [1, 3, 0, 0, 0] Position [150, 153, 180, 207] ShowPortLabels on Port { PortNumber 2 Name "h2" TestPoint off RTWStorageClass "Auto" } System { Name "Subsystem1" Location [169, 143, 696, 331] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "automatic" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" AutoZoom on Block { BlockType Inport Name "In1" Position [25, 28, 55, 42] ShowName off Port "1" PortWidth "-1" SampleTime "-1" DataType "auto" SignalType "auto" Interpolate on } Block { BlockType Gain Name "Gain" Position [150, 30, 180, 60] Gain "0.5" SaturateOnIntegerOverflow on } Block { BlockType Gain Name "Gain1" Position [345, 28, 410, 62] Gain "0.12*sqrt(19.6)" SaturateOnIntegerOverflow on } Block { BlockType Gain Name "Gain2" Position [325, 133, 390, 167] Gain "0.025*sqrt(19.6)" SaturateOnIntegerOverflow on } Block { BlockType Integrator Name "Integrator" Ports [1, 1, 0, 0, 0] Position [215, 30, 245, 60] ExternalReset "none" InitialConditionSource "internal" InitialCondition "0.7" LimitOutput off UpperSaturationLimit "inf" LowerSaturationLimit "-inf" ShowSaturationPort off ShowStatePort off AbsoluteTolerance "auto" } Block { BlockType Math Name "Math\nFunction" Ports [1, 1, 0, 0, 0] Position [290, 30, 320, 60] Operator "sqrt" OutputSignalType "auto" } Block { BlockType Sum Name "Sum" Ports [3, 1, 0, 0, 0] Position [80, 34, 100, 56] ShowName off IconShape "rectangular" Inputs "+--" SaturateOnIntegerOverflow on } Block { BlockType Outport Name "q" Position [445, 38, 475, 52] Port "1" OutputWhenDisabled "held" InitialOutput "[]" } Block { BlockType Outport Name "h" Position [250, 128, 280, 142] Port "2" OutputWhenDisabled "held" InitialOutput "[]" } Block { BlockType Outport Name "m2" Position [420, 143, 450, 157] Port "3" OutputWhenDisabled "held" InitialOutput "[]" } Line { SrcBlock "Gain" SrcPort 1 DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 Points [5, 0] DstBlock "Sum" DstPort 1 } Line { SrcBlock "Gain1" SrcPort 1 Points [10, 0] Branch { DstBlock "q" DstPort 1 } Branch { Points [0, 55; -360, 0] DstBlock "Sum" DstPort 2 } } Line { SrcBlock "Integrator" SrcPort 1 Points [10, 0] Branch { DstBlock "Math\nFunction" DstPort 1 } Branch { Points [-25, 0] DstBlock "h" DstPort 1 } } Line { SrcBlock "Math\nFunction" SrcPort 1 Points [5, 0] Branch { DstBlock "Gain1" DstPort 1 } Branch { Points [-20, 0] DstBlock "Gain2" DstPort 1 } } Line { SrcBlock "Gain2" SrcPort 1 Points [10, 0] Branch { DstBlock "m2" DstPort 1 } Branch { Points [0, 25; -340, 0] DstBlock "Sum" DstPort 3 } } } } Block { BlockType SubSystem Name "Subsystem2" Ports [1, 3, 0, 0, 0] Position [170, 229, 200, 281] ShowPortLabels on Port { PortNumber 2 Name "h3" TestPoint off RTWStorageClass "Auto" } System { Name "Subsystem2" Location [253, 129, 683, 358] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "automatic" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" AutoZoom on Block { BlockType Inport Name "In1" Position [25, 28, 55, 42] ShowName off Port "1" PortWidth "-1" SampleTime "-1" DataType "auto" SignalType "auto" Interpolate on } Block { BlockType Gain Name "Gain" Position [150, 30, 180, 60] Gain "0.5" SaturateOnIntegerOverflow on } Block { BlockType Gain Name "Gain1" Position [345, 28, 410, 62] Gain "0.13*sqrt(19.6)" SaturateOnIntegerOverflow on } Block { BlockType Gain Name "Gain2" Position [305, 158, 370, 192] Gain "0.02*sqrt(19.6)" SaturateOnIntegerOverflow on } Block { BlockType Integrator Name "Integrator" Ports [1, 1, 0, 0, 0] Position [215, 30, 245, 60] ExternalReset "none" InitialConditionSource "internal" InitialCondition "0.5" LimitOutput off UpperSaturationLimit "inf" LowerSaturationLimit "-inf" ShowSaturationPort off ShowStatePort off AbsoluteTolerance "auto" } Block { BlockType Math Name "Math\nFunction" Ports [1, 1, 0, 0, 0] Position [290, 30, 320, 60] Operator "sqrt" OutputSignalType "auto" } Block { BlockType Sum Name "Sum" Ports [3, 1, 0, 0, 0] Position [80, 34, 100, 56] ShowName off IconShape "rectangular" Inputs "+--" SaturateOnIntegerOverflow on } Block { BlockType Outport Name "q" Position [445, 38, 475, 52] Port "1" OutputWhenDisabled "held" InitialOutput "[]" } Block { BlockType Outport Name "h" Position [250, 128, 280, 142] Port "2" OutputWhenDisabled "held" InitialOutput "[]" } Block { BlockType Outport Name "m3" Position [400, 168, 430, 182] Port "3" OutputWhenDisabled "held" InitialOutput "[]" } Line { SrcBlock "Gain" SrcPort 1 DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 Points [5, 0] DstBlock "Sum" DstPort 1 } Line { SrcBlock "Gain1" SrcPort 1 Points [10, 0] Branch { DstBlock "q" DstPort 1 } Branch { Points [0, 55; -360, 0] DstBlock "Sum" DstPort 2 } } Line { SrcBlock "Integrator" SrcPort 1 Points [10, 0] Branch { DstBlock "Math\nFunction" DstPort 1 } Branch { Points [-25, 0] DstBlock "h" DstPort 1 } } Line { SrcBlock "Math\nFunction" SrcPort 1 Points [5, 0] Branch { DstBlock "Gain1" DstPort 1 } Branch { Points [-40, 0] DstBlock "Gain2" DstPort 1 } } Line { SrcBlock "Gain2" SrcPort 1 Points [5, 0] Branch { DstBlock "m3" DstPort 1 } Branch { Points [-315, 0] DstBlock "Sum" DstPort 3 } } } } Block { BlockType SubSystem Name "Subsystem3" Ports [1, 3, 0, 0, 0] Position [200, 309, 230, 361] ShowPortLabels on Port { PortNumber 2 Name "h4" TestPoint off RTWStorageClass "Auto" } System { Name "Subsystem3" Location [161, 105, 663, 316] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "automatic" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" AutoZoom on Block { BlockType Inport Name "In1" Position [25, 28, 55, 42] ShowName off Port "1" PortWidth "-1" SampleTime "-1" DataType "auto" SignalType "auto" Interpolate on } Block { BlockType Gain Name "Gain" Position [150, 30, 180, 60] Gain "0.5" SaturateOnIntegerOverflow on } Block { BlockType Gain Name "Gain1" Position [345, 28, 410, 62] Gain "0.11*sqrt(19.6)" SaturateOnIntegerOverflow on } Block { BlockType Gain Name "Gain2" Position [255, 173, 320, 207] Gain "0.025*sqrt(19.6)" SaturateOnIntegerOverflow on } Block { BlockType Integrator Name "Integrator" Ports [1, 1, 0, 0, 0] Position [215, 30, 245, 60] ExternalReset "none" InitialConditionSource "internal" InitialCondition "0.3" LimitOutput off UpperSaturationLimit "inf" LowerSaturationLimit "-inf" ShowSaturationPort off ShowStatePort off AbsoluteTolerance "auto" } Block { BlockType Math Name "Math\nFunction" Ports [1, 1, 0, 0, 0] Position [290, 30, 320, 60] Operator "sqrt" OutputSignalType "auto" } Block { BlockType Sum Name "Sum" Ports [3, 1, 0, 0, 0] Position [80, 34, 100, 56] ShowName off IconShape "rectangular" Inputs "+--" SaturateOnIntegerOverflow on } Block { BlockType Outport Name "q" Position [445, 38, 475, 52] Port "1" OutputWhenDisabled "held" InitialOutput "[]" } Block { BlockType Outport Name "h" Position [250, 128, 280, 142] Port "2" OutputWhenDisabled "held" InitialOutput "[]" } Block { BlockType Outport Name "m4" Position [350, 183, 380, 197] Port "3" OutputWhenDisabled "held" InitialOutput "[]" } Line { SrcBlock "Gain" SrcPort 1 DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 Points [5, 0] DstBlock "Sum" DstPort 1 } Line { SrcBlock "Gain1" SrcPort 1 Points [10, 0] Branch { DstBlock "q" DstPort 1 } Branch { Points [0, 55; -360, 0] DstBlock "Sum" DstPort 2 } } Line { SrcBlock "Integrator" SrcPort 1 Points [10, 0] Branch { DstBlock "Math\nFunction" DstPort 1 } Branch { Points [-25, 0] DstBlock "h" DstPort 1 } } Line { SrcBlock "Math\nFunction" SrcPort 1 Points [0, 0] Branch { DstBlock "Gain1" DstPort 1 } Branch { Points [-85, 0] DstBlock "Gain2" DstPort 1 } } Line { SrcBlock "Gain2" SrcPort 1 Points [5, 0] Branch { DstBlock "m4" DstPort 1 } Branch { Points [-265, 0] DstBlock "Sum" DstPort 3 } } } } Block { BlockType SubSystem Name "Subsystem4" Ports [1, 3, 0, 0, 0] Position [225, 394, 255, 446] ShowPortLabels on Port { PortNumber 2 Name "h5" TestPoint off RTWStorageClass "Auto" } System { Name "Subsystem4" Location [179, 87, 681, 298] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "automatic" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" AutoZoom on Block { BlockType Inport Name "In1" Position [25, 28, 55, 42] ShowName off Port "1" PortWidth "-1" SampleTime "-1" DataType "auto" SignalType "auto" Interpolate on } Block { BlockType Gain Name "Gain" Position [150, 30, 180, 60] Gain "0.5" SaturateOnIntegerOverflow on } Block { BlockType Gain Name "Gain1" Position [345, 28, 410, 62] Gain "0.105*sqrt(19.6)" SaturateOnIntegerOverflow on } Block { BlockType Gain Name "Gain2" Position [255, 173, 320, 207] Gain "0.05*sqrt(19.6)" SaturateOnIntegerOverflow on } Block { BlockType Integrator Name "Integrator" Ports [1, 1, 0, 0, 0] Position [215, 30, 245, 60] ExternalReset "none" InitialConditionSource "internal" InitialCondition "0.2" LimitOutput off UpperSaturationLimit "inf" LowerSaturationLimit "-inf" ShowSaturationPort off ShowStatePort off AbsoluteTolerance "auto" } Block { BlockType Math Name "Math\nFunction" Ports [1, 1, 0, 0, 0] Position [290, 30, 320, 60] Operator "sqrt" OutputSignalType "auto" } Block { BlockType Sum Name "Sum" Ports [3, 1, 0, 0, 0] Position [80, 34, 100, 56] ShowName off IconShape "rectangular" Inputs "+--" SaturateOnIntegerOverflow on } Block { BlockType Outport Name "q" Position [445, 38, 475, 52] Port "1" OutputWhenDisabled "held" InitialOutput "[]" } Block { BlockType Outport Name "h" Position [250, 128, 280, 142] Port "2" OutputWhenDisabled "held" InitialOutput "[]" } Block { BlockType Outport Name "m4" Position [350, 183, 380, 197] Port "3" OutputWhenDisabled "held" InitialOutput "[]" } Line { SrcBlock "Gain" SrcPort 1 DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 Points [5, 0] DstBlock "Sum" DstPort 1 } Line { SrcBlock "Gain1" SrcPort 1 Points [10, 0] Branch { DstBlock "q" DstPort 1 } Branch { Points [0, 55; -360, 0] DstBlock "Sum" DstPort 2 } } Line { SrcBlock "Integrator" SrcPort 1 Points [10, 0] Branch { DstBlock "Math\nFunction" DstPort 1 } Branch { Points [-25, 0] DstBlock "h" DstPort 1 } } Line { SrcBlock "Gain2" SrcPort 1 DstBlock "m4" DstPort 1 } Line { SrcBlock "Math\nFunction" SrcPort 1 Points [5, 0] Branch { DstBlock "Gain1" DstPort 1 } Branch { Points [-90, 0] DstBlock "Gain2" DstPort 1 } } Line { Points [340, 190; -275, 0] DstBlock "Sum" DstPort 3 } } } Line { SrcBlock "Constant" SrcPort 1 DstBlock "Subsystem" DstPort 1 } Line { SrcBlock "Subsystem" SrcPort 1 Points [30, 0] Branch { DstBlock "Mux" DstPort 1 } Branch { Points [-50, 0] DstBlock "Subsystem1" DstPort 1 } } Line { SrcBlock "Subsystem1" SrcPort 1 Points [0, -5; 60, 0] Branch { DstBlock "Mux1" DstPort 1 } Branch { Points [-90, 0] DstBlock "Subsystem2" DstPort 1 } } Line { SrcBlock "Mux" SrcPort 1 Points [25, 0] Branch { Points [10, 0] DstBlock "Scope" DstPort 1 } Branch { Points [0, 165] DstBlock "Mux3" DstPort 1 } } Line { SrcBlock "Mux1" SrcPort 1 Points [10, 0] Branch { DstBlock "Scope1" DstPort 1 } Branch { Points [0, 75] DstBlock "Mux3" DstPort 2 } } Line { SrcBlock "Mux2" SrcPort 1 Points [15, 0] Branch { DstBlock "Scope2" DstPort 1 } Branch { Points [90, 0] DstBlock "Mux3" DstPort 3 } } Line { SrcBlock "Mux3" SrcPort 1 DstBlock "Scope3" DstPort 1 } Line { SrcBlock "Subsystem2" SrcPort 1 Points [30, 0] Branch { DstBlock "Mux2" DstPort 1 } Branch { Labels [1, 0] Points [-50, 0] DstBlock "Subsystem3" DstPort 1 } } Line { SrcBlock "Mux4" SrcPort 1 Points [10, 0] Branch { DstBlock "Scope4" DstPort 1 } Branch { Points [0, -65] DstBlock "Mux3" DstPort 4 } } Line { Name "h1" SrcBlock "Subsystem" SrcPort 2 Points [0, 10; 45, 0] Branch { Points [25, 0] DstBlock "Mux" DstPort 2 } Branch { Labels [2, 0] Points [0, 70] DstBlock "Mux5" DstPort 1 } } Line { Name "h4" SrcBlock "Subsystem3" SrcPort 2 Points [0, 10; 40, 0] Branch { Points [30, 0] DstBlock "Mux4" DstPort 2 } Branch { Labels [2, 0] Points [0, -175] DstBlock "Mux5" DstPort 4 } } Line { Name "h2" SrcBlock "Subsystem1" SrcPort 2 Points [0, 5; 45, 0] Branch { Points [25, 0] DstBlock "Mux1" DstPort 2 } Branch { Labels [2, 0] Points [0, -25] DstBlock "Mux5" DstPort 2 } } Line { Name "h3" SrcBlock "Subsystem2" SrcPort 2 Points [0, 10; 35, 0] Branch { Points [35, 0] DstBlock "Mux2" DstPort 2 } Branch { Labels [2, 0] Points [0, -100] DstBlock "Mux5" DstPort 3 } } Line { Name "h" Labels [1, 0] SrcBlock "Mux5" SrcPort 1 DstBlock "Scope5" DstPort 1 } Line { SrcBlock "Subsystem4" SrcPort 1 DstBlock "Mux6" DstPort 1 } Line { SrcBlock "Mux6" SrcPort 1 Points [10, 0] Branch { Points [0, 0] DstBlock "Scope6" DstPort 1 } Branch { Points [0, -65; 75, 0] } } Line { Name "h5" Labels [0, 0] SrcBlock "Subsystem4" SrcPort 2 Points [20, 0] Branch { Points [50, 0] DstBlock "Mux6" DstPort 2 } Branch { Points [0, -245] DstBlock "Mux5" DstPort 5 } } Line { SrcBlock "Subsystem3" SrcPort 1 Points [30, 0] Branch { DstBlock "Mux4" DstPort 1 } Branch { Labels [2, 0] Points [-55, 0] DstBlock "Subsystem4" DstPort 1 } } } }