Model { Name "stvss" Version 4.00 SampleTimeColors on LibraryLinkDisplay "none" WideLines on ShowLineDimensions off ShowPortDataTypes off ShowStorageClass off ExecutionOrder off RecordCoverage off CovPath "/" CovSaveName "covdata" CovMetricSettings "dw" CovNameIncrementing off CovHtmlReporting on BlockNameDataTip off BlockParametersDataTip off BlockDescriptionStringDataTip off ToolBar on StatusBar on BrowserShowLibraryLinks off BrowserLookUnderMasks off PreLoadFcn "[A B C D] = rmodel(3,1,3);" Created "Thu Feb 07 14:40:17 2002" Creator "dmedonza" UpdateHistory "UpdateHistoryNever" ModifiedByFormat "%" LastModifiedBy "dmedonza" ModifiedDateFormat "%" LastModifiedDate "Thu Feb 07 14:41:08 2002" ModelVersionFormat "1.%" ConfigurationManager "rcs" SimParamPage "Diagnostics" StartTime "0.0" StopTime "100" SolverMode "SingleTasking" Solver "ode45" RelTol "1e-3" AbsTol "1e-3" Refine "1" MaxStep ".10" MinStep "auto" MaxNumMinSteps "-1" InitialStep "auto" FixedStep "auto" MaxOrder 5 OutputOption "RefineOutputTimes" OutputTimes "[]" LoadExternalInput off ExternalInput "[t, u]" SaveTime off TimeSaveName "tout" SaveState off StateSaveName "xout" SaveOutput off OutputSaveName "yout" LoadInitialState off InitialState "xInitial" SaveFinalState off FinalStateName "xFinal" SaveFormat "Array" LimitDataPoints off MaxDataPoints "1000" Decimation "1" AlgebraicLoopMsg "warning" MinStepSizeMsg "warning" UnconnectedInputMsg "warning" UnconnectedOutputMsg "warning" UnconnectedLineMsg "warning" InheritedTsInSrcMsg "none" SingleTaskRateTransMsg "none" MultiTaskRateTransMsg "error" IntegerOverflowMsg "warning" CheckForMatrixSingularity "none" UnnecessaryDatatypeConvMsg "none" Int32ToFloatConvMsg "warning" InvalidFcnCallConnMsg "error" SignalLabelMismatchMsg "none" LinearizationMsg "none" VectorMatrixConversionMsg "none" SfunCompatibilityCheckMsg "none" BlockPriorityViolationMsg "warning" ArrayBoundsChecking "none" ConsistencyChecking "none" ZeroCross on Profile off SimulationMode "normal" RTWSystemTargetFile "rtwspox.tlc" RTWInlineParameters off RTWRetainRTWFile off RTWTemplateMakefile "rtwspox30.tmf" RTWMakeCommand "make_rtw" RTWGenerateCodeOnly off TLCProfiler off TLCDebug off TLCCoverage off AccelSystemTargetFile "accel.tlc" AccelTemplateMakefile "accel_default_tmf" AccelMakeCommand "make_rtw" TryForcingSFcnDF off ExtModeMexFile "swextcom" 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 OptimizeBlockIOStorage on BufferReuse on ParameterPooling on BlockReductionOpt on RTWExpressionDepthLimit 5 BooleanDataType off 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 "stvss" Location [371, 78, 1139, 378] Open on ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" ReportName "simulink-default.rpt" Block { BlockType SubSystem Name "A" Ports [0, 1] Position [30, 53, 55, 77] ShowPortLabels on TreatAsAtomicUnit off RTWSystemCode "Auto" RTWFcnNameOpts "Auto" RTWFileNameOpts "Auto" MaskType "Matrix Constant" MaskDescription "Matrix Constant:" MaskPromptString "Matrix Constant Value:" MaskStyleString "edit" MaskTunableValueString "on" MaskEnableString "on" MaskVisibilityString "on" MaskToolTipString "on" MaskInitialization "K=@1(:);" MaskDisplay "disp('A')" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" MaskValueString "A" System { Name "A" Location [480, 85, 980, 386] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "automatic" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType Constant Name "A" Position [90, 58, 115, 82] Value "K" VectorParams1D on } Block { BlockType Outport Name "Out1" Position [145, 75, 165, 95] Port "1" OutputWhenDisabled "held" InitialOutput "[]" } Line { SrcBlock "A" SrcPort 1 DstBlock "Out1" DstPort 1 } } } Block { BlockType SubSystem Name "B" Ports [0, 1] Position [55, 78, 80, 102] ShowPortLabels on TreatAsAtomicUnit off RTWSystemCode "Auto" RTWFcnNameOpts "Auto" RTWFileNameOpts "Auto" MaskType "Matrix Constant" MaskDescription "Matrix Constant:" MaskPromptString "Matrix Constant Value:" MaskStyleString "edit" MaskTunableValueString "on" MaskEnableString "on" MaskVisibilityString "on" MaskToolTipString "on" MaskInitialization "K=@1(:);" MaskDisplay "disp('B')" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" MaskValueString "B" System { Name "B" Location [480, 85, 980, 386] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "automatic" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType Constant Name "B" Position [90, 58, 115, 82] Value "K" VectorParams1D on } Block { BlockType Outport Name "Out1" Position [145, 75, 165, 95] Port "1" OutputWhenDisabled "held" InitialOutput "[]" } Line { SrcBlock "B" SrcPort 1 DstBlock "Out1" DstPort 1 } } } Block { BlockType SubSystem Name "C" Ports [0, 1] Position [30, 103, 55, 127] ShowPortLabels on TreatAsAtomicUnit off RTWSystemCode "Auto" RTWFcnNameOpts "Auto" RTWFileNameOpts "Auto" MaskType "Matrix Constant" MaskDescription "Matrix Constant:" MaskPromptString "Matrix Constant Value:" MaskStyleString "edit" MaskTunableValueString "on" MaskEnableString "on" MaskVisibilityString "on" MaskToolTipString "on" MaskInitialization "K=@1(:);" MaskDisplay "disp('C')" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" MaskValueString "C" System { Name "C" Location [480, 85, 980, 386] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "automatic" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType Constant Name "C" Position [90, 58, 115, 82] Value "K" VectorParams1D on } Block { BlockType Outport Name "Out1" Position [145, 75, 165, 95] Port "1" OutputWhenDisabled "held" InitialOutput "[]" } Line { SrcBlock "C" SrcPort 1 DstBlock "Out1" DstPort 1 } } } Block { BlockType SubSystem Name "D" Ports [0, 1] Position [55, 128, 80, 152] ShowPortLabels on TreatAsAtomicUnit off RTWSystemCode "Auto" RTWFcnNameOpts "Auto" RTWFileNameOpts "Auto" MaskType "Matrix Constant" MaskDescription "Matrix Constant:" MaskPromptString "Matrix Constant Value:" MaskStyleString "edit" MaskTunableValueString "on" MaskEnableString "on" MaskVisibilityString "on" MaskToolTipString "on" MaskInitialization "K=@1(:);" MaskDisplay "disp('D')" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" MaskValueString "D" System { Name "D" Location [480, 85, 980, 386] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "automatic" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType Constant Name "D" Position [90, 58, 115, 82] Value "K" VectorParams1D on } Block { BlockType Outport Name "Out1" Position [145, 75, 165, 95] Port "1" OutputWhenDisabled "held" InitialOutput "[]" } Line { SrcBlock "D" SrcPort 1 DstBlock "Out1" DstPort 1 } } } Block { BlockType Scope Name "Scope" Ports [1] Position [495, 34, 525, 66] Floating off Location [188, 365, 512, 604] Open off NumInputPorts "1" TickLabels "OneTimeTick" ZoomMode "on" List { ListType AxesTitles axes1 "%" } List { ListType SelectedSignals axes1 "" } Grid "on" TimeRange "auto" YMin "-5" YMax "5" SaveToWorkspace off SaveName "ScopeData1" DataFormat "StructureWithTime" LimitDataPoints on MaxDataPoints "5000" Decimation "1" SampleInput off SampleTime "0" } Block { BlockType Sin Name "Sine Wave" Position [45, 10, 65, 30] SineType "Time-based" Amplitude "ones(3,1)" Bias "0" Frequency "ones(3,1)" Phase "0" Samples "10" Offset "0" SampleTime "-1" VectorParams1D on } Block { BlockType StateSpace Name "State-Space" Position [245, 199, 320, 241] A "A" B "B" C "C" D "D" X0 "0" AbsoluteTolerance "auto" Realization "auto" } Block { BlockType SubSystem Name "Time Varying\nState-Space" Ports [5, 1] Position [210, 30, 395, 150] ShowPortLabels off TreatAsAtomicUnit off RTWSystemCode "Auto" RTWFcnNameOpts "Auto" RTWFileNameOpts "Auto" MaskType "Time Varying State Space Block" MaskDescription "Initial State Variables " MaskHelp "Inputs 1-4 are the A,B,C, & D matrices. Input 5" " is the system input. Initial matrices determine sizes of variables being pas" "sed in. Unmask the block to see how is works. " MaskPromptString "Initial A:|Initial B:|Initial C:| Intial D:|Ini" "tial Conditions X0:|Ts:" MaskStyleString "edit,edit,edit,edit,edit,edit" MaskTunableValueString "on,on,on,on,on,on" MaskCallbackString "|||||" MaskEnableString "on,on,on,on,on,on" MaskVisibilityString "on,on,on,on,on,on" MaskToolTipString "on,on,on,on,on,on" MaskInitialization "A=@1;B=@2;C=@3;D=@4; x0=@5;Ts=@6;" MaskDisplay "disp('x'' = A(t)x + B(t)u \\n y = C(t)x + D(t)u" "')" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" MaskValueString "A|B|C| D|0|-1" MaskVariableAliases ",,,,," System { Name "Time Varying\nState-Space" Location [77, 67, 766, 488] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType Inport Name "U" Position [20, 120, 40, 140] Port "1" LatchInput off Interpolate on } Block { BlockType Inport Name "A" Position [105, 60, 125, 80] Port "2" LatchInput off Interpolate on } Block { BlockType Inport Name "B" Position [105, 145, 125, 165] Port "3" LatchInput off Interpolate on } Block { BlockType Inport Name "C" Position [410, 225, 430, 245] Port "4" LatchInput off Interpolate on } Block { BlockType Inport Name "D" Position [410, 330, 430, 350] Port "5" LatchInput off Interpolate on } Block { BlockType Integrator Name "Integrator" Ports [1, 1] Position [385, 95, 405, 115] ExternalReset "none" InitialConditionSource "internal" InitialCondition "x0" LimitOutput off UpperSaturationLimit "inf" LowerSaturationLimit "-inf" ShowSaturationPort off ShowStatePort off AbsoluteTolerance "auto" } Block { BlockType Scope Name "Scope" Ports [] Position [535, 55, 565, 85] Floating on Location [802, 517, 1133, 831] Open on NumInputPorts "1" TickLabels "on" ZoomMode "on" List { ListType AxesTitles axes1 "%" } List { ListType SelectedSignals axes1 "" } Grid "on" TimeRange "12" YMin "-2" YMax "2" SaveToWorkspace off SaveName "ScopeData" DataFormat "Array" LimitDataPoints on MaxDataPoints "5000" Decimation "1" SampleInput off SampleTime "0" } Block { BlockType SubSystem Name "Subsystem" Ports [2, 1] Position [155, 115, 245, 170] ShowPortLabels off TreatAsAtomicUnit off RTWSystemCode "Auto" RTWFcnNameOpts "Auto" RTWFileNameOpts "Auto" MaskType "Time Varying Matrix Gain" MaskDescription "Matrix Gain" MaskHelp "This block implements a time-varying matrix" " gain. The intial gain K determines the resizing of the vector input gain. Th" "e gain matrix(m,n) will produce m outputs, the input u having n columns." MaskPromptString "Initial Gain Matrix: |Update Sample Time" MaskStyleString "edit,edit" MaskTunableValueString "on,on" MaskCallbackString "|" MaskEnableString "on,on" MaskVisibilityString "on,on" MaskToolTipString "on,on" MaskInitialization "K=@1;Ts=@2;[m,n]=size(@1);" MaskDisplay "disp('Time Varying\\nMatrix Gain')" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" MaskValueString "B|Ts" MaskVariableAliases "," System { Name "Subsystem" Location [579, 383, 930, 533] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType Inport Name "in_1" Position [10, 60, 30, 80] Port "1" LatchInput off Interpolate on } Block { BlockType Inport Name "in_2" Position [10, 75, 30, 95] Port "2" LatchInput off Interpolate on } Block { BlockType Mux Name "Mux" Ports [2, 1] Position [60, 61, 90, 94] Inputs "[n m*n]" DisplayOption "none" } Block { BlockType "S-Function" Name "S-Function" Ports [1, 1] Position [130, 70, 180, 90] FunctionName "stvmgain" Parameters "K,Ts" PortCounts "[]" SFunctionModules "''" } Block { BlockType Outport Name "out_1" Position [210, 70, 230, 90] Port "1" OutputWhenDisabled "held" InitialOutput "[]" } Line { SrcBlock "Mux" SrcPort 1 DstBlock "S-Function" DstPort 1 } Line { SrcBlock "in_1" SrcPort 1 DstBlock "Mux" DstPort 1 } Line { SrcBlock "S-Function" SrcPort 1 DstBlock "out_1" DstPort 1 } Line { SrcBlock "in_2" SrcPort 1 DstBlock "Mux" DstPort 2 } } } Block { BlockType SubSystem Name "Subsystem1" Ports [2, 1] Position [155, 30, 245, 85] ShowPortLabels off TreatAsAtomicUnit off RTWSystemCode "Auto" RTWFcnNameOpts "Auto" RTWFileNameOpts "Auto" MaskType "Time Varying Matrix Gain" MaskDescription "Matrix Gain" MaskHelp "This block implements a time-varying matrix" " gain. The intial gain K determines the resizing of the vector input gain. Th" "e gain matrix(m,n) will produce m outputs, the input u having n columns." MaskPromptString "Initial Gain Matrix: |Update Sample Time" MaskStyleString "edit,edit" MaskTunableValueString "on,on" MaskCallbackString "|" MaskEnableString "on,on" MaskVisibilityString "on,on" MaskToolTipString "on,on" MaskInitialization "K=@1;Ts=@2;[m,n]=size(@1);" MaskDisplay "disp('Time Varying\\nMatrix Gain')" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" MaskValueString "A|Ts" MaskVariableAliases "," System { Name "Subsystem1" Location [579, 383, 930, 533] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType Inport Name "in_1" Position [10, 60, 30, 80] Port "1" LatchInput off Interpolate on } Block { BlockType Inport Name "in_2" Position [10, 75, 30, 95] Port "2" LatchInput off Interpolate on } Block { BlockType Mux Name "Mux" Ports [2, 1] Position [60, 61, 90, 94] Inputs "[n m*n]" DisplayOption "none" } Block { BlockType "S-Function" Name "S-Function" Ports [1, 1] Position [130, 70, 180, 90] FunctionName "stvmgain" Parameters "K,Ts" PortCounts "[]" SFunctionModules "''" } Block { BlockType Outport Name "out_1" Position [210, 70, 230, 90] Port "1" OutputWhenDisabled "held" InitialOutput "0" } Line { SrcBlock "in_2" SrcPort 1 DstBlock "Mux" DstPort 2 } Line { SrcBlock "S-Function" SrcPort 1 DstBlock "out_1" DstPort 1 } Line { SrcBlock "in_1" SrcPort 1 DstBlock "Mux" DstPort 1 } Line { SrcBlock "Mux" SrcPort 1 DstBlock "S-Function" DstPort 1 } } } Block { BlockType SubSystem Name "Subsystem2" Ports [2, 1] Position [460, 195, 550, 250] ShowPortLabels off TreatAsAtomicUnit off RTWSystemCode "Auto" RTWFcnNameOpts "Auto" RTWFileNameOpts "Auto" MaskType "Time Varying Matrix Gain" MaskDescription "Matrix Gain" MaskHelp "This block implements a time-varying matrix" " gain. The intial gain K determines the resizing of the vector input gain. Th" "e gain matrix(m,n) will produce m outputs, the input u having n columns." MaskPromptString "Initial Gain Matrix: |Update Sample Time" MaskStyleString "edit,edit" MaskTunableValueString "on,on" MaskCallbackString "|" MaskEnableString "on,on" MaskVisibilityString "on,on" MaskToolTipString "on,on" MaskInitialization "K=@1;Ts=@2;[m,n]=size(@1);" MaskDisplay "disp('Time Varying\\nMatrix Gain')" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" MaskValueString "C|Ts" MaskVariableAliases "," System { Name "Subsystem2" Location [579, 383, 930, 533] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType Inport Name "in_1" Position [10, 60, 30, 80] Port "1" LatchInput off Interpolate on } Block { BlockType Inport Name "in_2" Position [10, 75, 30, 95] Port "2" LatchInput off Interpolate on } Block { BlockType Mux Name "Mux" Ports [2, 1] Position [60, 61, 90, 94] Inputs "[n m*n]" DisplayOption "none" } Block { BlockType "S-Function" Name "S-Function" Ports [1, 1] Position [130, 70, 180, 90] FunctionName "stvmgain" Parameters "K,Ts" PortCounts "[]" SFunctionModules "''" } Block { BlockType Outport Name "out_1" Position [210, 70, 230, 90] Port "1" OutputWhenDisabled "held" InitialOutput "0" } Line { SrcBlock "Mux" SrcPort 1 DstBlock "S-Function" DstPort 1 } Line { SrcBlock "in_1" SrcPort 1 DstBlock "Mux" DstPort 1 } Line { SrcBlock "S-Function" SrcPort 1 DstBlock "out_1" DstPort 1 } Line { SrcBlock "in_2" SrcPort 1 DstBlock "Mux" DstPort 2 } } } Block { BlockType SubSystem Name "Subsystem3" Ports [2, 1] Position [460, 300, 550, 355] ShowPortLabels off TreatAsAtomicUnit off RTWSystemCode "Auto" RTWFcnNameOpts "Auto" RTWFileNameOpts "Auto" MaskType "Time Varying Matrix Gain" MaskDescription "Matrix Gain" MaskHelp "This block implements a time-varying matrix" " gain. The intial gain K determines the resizing of the vector input gain. Th" "e gain matrix(m,n) will produce m outputs, the input u having n columns." MaskPromptString "Initial Gain Matrix: |Update Sample Time" MaskStyleString "edit,edit" MaskTunableValueString "on,on" MaskCallbackString "|" MaskEnableString "on,on" MaskVisibilityString "on,on" MaskToolTipString "on,on" MaskInitialization "K=@1;Ts=@2;[m,n]=size(@1);" MaskDisplay "disp('Time Varying\\nMatrix Gain')" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" MaskValueString "D|Ts" MaskVariableAliases "," System { Name "Subsystem3" Location [579, 383, 930, 533] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType Inport Name "in_1" Position [10, 60, 30, 80] Port "1" LatchInput off Interpolate on } Block { BlockType Inport Name "in_2" Position [10, 75, 30, 95] Port "2" LatchInput off Interpolate on } Block { BlockType Mux Name "Mux" Ports [2, 1] Position [60, 61, 90, 94] Inputs "[n m*n]" DisplayOption "none" } Block { BlockType "S-Function" Name "S-Function" Ports [1, 1] Position [130, 70, 180, 90] FunctionName "stvmgain" Parameters "K,Ts" PortCounts "[]" SFunctionModules "''" } Block { BlockType Outport Name "out_1" Position [210, 70, 230, 90] Port "1" OutputWhenDisabled "held" InitialOutput "0" } Line { SrcBlock "in_2" SrcPort 1 DstBlock "Mux" DstPort 2 } Line { SrcBlock "S-Function" SrcPort 1 DstBlock "out_1" DstPort 1 } Line { SrcBlock "in_1" SrcPort 1 DstBlock "Mux" DstPort 1 } Line { SrcBlock "Mux" SrcPort 1 DstBlock "S-Function" DstPort 1 } } } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [290, 18, 335, 187] IconShape "rectangular" Inputs "++" SaturateOnIntegerOverflow on } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [595, 174, 625, 381] IconShape "rectangular" Inputs "++" SaturateOnIntegerOverflow on } Block { BlockType Outport Name "Y" Position [660, 270, 680, 290] Port "1" OutputWhenDisabled "held" InitialOutput "0" } Line { SrcBlock "D" SrcPort 1 DstBlock "Subsystem3" DstPort 2 } Line { SrcBlock "B" SrcPort 1 DstBlock "Subsystem" DstPort 2 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Y" DstPort 1 } Line { SrcBlock "C" SrcPort 1 DstBlock "Subsystem2" DstPort 2 } Line { SrcBlock "A" SrcPort 1 DstBlock "Subsystem1" DstPort 2 } Line { SrcBlock "Subsystem3" SrcPort 1 DstBlock "Sum1" DstPort 2 } Line { SrcBlock "Subsystem2" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Subsystem" SrcPort 1 DstBlock "Sum" DstPort 2 } Line { SrcBlock "Subsystem1" SrcPort 1 DstBlock "Sum" DstPort 1 } Line { SrcBlock "Integrator" SrcPort 1 Points [25, 0] Branch { Points [0, -100; -320, 0; 0, 40] DstBlock "Subsystem1" DstPort 1 } Branch { Points [0, 105] DstBlock "Subsystem2" DstPort 1 } } Line { SrcBlock "U" SrcPort 1 Points [40, 0] Branch { DstBlock "Subsystem" DstPort 1 } Branch { Points [0, 185] DstBlock "Subsystem3" DstPort 1 } } Annotation { Position [356, 85] VerticalAlignment "top" Text "x'" } Annotation { Position [132, 27] VerticalAlignment "top" Text "x" } } } Block { BlockType ToWorkspace Name "To Workspace" Position [555, 92, 605, 108] VariableName "yout" MaxDataPoints "Inf" Decimation "1" SampleTime "0" SaveFormat "Array" } Block { BlockType ToWorkspace Name "To Workspace1" Position [405, 212, 455, 228] VariableName "yout1" MaxDataPoints "Inf" Decimation "1" SampleTime "0" SaveFormat "Array" } Line { SrcBlock "D" SrcPort 1 DstBlock "Time Varying\nState-Space" DstPort 5 } Line { SrcBlock "State-Space" SrcPort 1 DstBlock "To Workspace1" DstPort 1 } Line { SrcBlock "Time Varying\nState-Space" SrcPort 1 Points [75, 0] Branch { Points [65, 0] DstBlock "To Workspace" DstPort 1 } Branch { Points [0, -40] DstBlock "Scope" DstPort 1 } } Line { SrcBlock "A" SrcPort 1 DstBlock "Time Varying\nState-Space" DstPort 2 } Line { SrcBlock "B" SrcPort 1 DstBlock "Time Varying\nState-Space" DstPort 3 } Line { SrcBlock "C" SrcPort 1 DstBlock "Time Varying\nState-Space" DstPort 4 } Line { SrcBlock "Sine Wave" SrcPort 1 Points [60, 0; 0, 20] Branch { DstBlock "Time Varying\nState-Space" DstPort 1 } Branch { Points [0, 180] DstBlock "State-Space" DstPort 1 } } } }