Model { Name "dsa_demo" Version 2.20 SimParamPage Solver SampleTimeColors off InvariantConstants off WideVectorLines off ShowLineWidths off StartTime "0.0" StopTime "1e10" Solver ode1 RelTol "1e-3" AbsTol "1e-6" Refine "1" MaxStep "auto" InitialStep "auto" FixedStep ".5e-4" 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" LimitMaxRows off MaxRows "1000" Decimation "1" AlgebraicLoopMsg warning MinStepSizeMsg warning UnconnectedInputMsg warning UnconnectedOutputMsg warning UnconnectedLineMsg warning ConsistencyChecking off ZeroCross on SimulationMode normal RTWSystemTargetFile "rti1102.tlc" RTWInlineParameters off RTWPlaceOutputsASAP off RTWRetainRTWFile on RTWTemplateMakefile "rti1102.tmf" RTWMakeCommand "make_rti" RTWGenerateCodeOnly off RTWUserButton " RTI Settings... rti_settings" ExtModeMexFile "rti1102comm" ExtModeBatchMode 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 "dsa_demo" Location [225, 77, 620, 340] Open on ToolBar on StatusBar on ScreenColor white PaperOrientation landscape PaperPositionMode auto PaperType usletter PaperUnits inches Block { BlockType SubSystem Name "Dynamic\nSignal Analyzer" Ports [2, 1, 0, 0, 0] Position [75, 96, 175, 134] BackgroundColor yellow ShowPortLabels on System { Name "Dynamic\nSignal Analyzer" Location [192, 459, 464, 703] Open off ToolBar off StatusBar off ScreenColor white PaperOrientation landscape PaperPositionMode auto PaperType usletter PaperUnits inches Block { BlockType Inport Name "channel1" Position [25, 58, 50, 82] BackgroundColor blue Port "1" PortWidth "-1" SampleTime "-1" } Block { BlockType Inport Name "channel2" Position [25, 108, 50, 132] BackgroundColor red Port "2" PortWidth "-1" SampleTime "-1" } Block { BlockType Display Name "Display1" Ports [1, 0, 0, 0, 0] Position [100, 55, 190, 85] BackgroundColor gray Format short Decimation "1" Floating off SampleTime "-1" } Block { BlockType Display Name "Display2" Ports [1, 0, 0, 0, 0] Position [100, 105, 190, 135] BackgroundColor gray Format short Decimation "1" Floating off SampleTime "-1" } Block { BlockType SignalGenerator Name "Swept\nSine" Position [25, 165, 55, 195] WaveForm sine Amplitude "0" Frequency "10" Units Hertz } Block { BlockType Outport Name "SineOut" Position [210, 167, 235, 193] BackgroundColor green Port "1" OutputWhenDisabled held InitialOutput "[]" } Line { SrcBlock "channel2" SrcPort 1 DstBlock "Display2" DstPort 1 } Line { SrcBlock "channel1" SrcPort 1 DstBlock "Display1" DstPort 1 } Line { SrcBlock "Swept\nSine" SrcPort 1 DstBlock "SineOut" DstPort 1 } Annotation { Position [127, 23] BackgroundColor lightBlue Text "NOTE: 'Display' is only here to define\na b" "lock output for mlib to read. (You\nwon't see display output while running.)" DropShadow on } } } Block { BlockType ZeroPole Name "Zero-Pole" Position [230, 97, 335, 133] Zeros "(2*pi)*[-40]" Poles "(2*pi)*[-250]" Gain "[1]" } Line { SrcBlock "Dynamic\nSignal Analyzer" SrcPort 1 Points [25, 0] Branch { Points [0, -40; -160, 0; 0, 30] DstBlock "Dynamic\nSignal Analyzer" DstPort 1 } Branch { DstBlock "Zero-Pole" DstPort 1 } } Line { SrcBlock "Zero-Pole" SrcPort 1 Points [15, 0; 0, 75; -310, 0; 0, -65] DstBlock "Dynamic\nSignal Analyzer" DstPort 2 } Annotation { Position [99, 33] BackgroundColor lightBlue Text "\nDemo system for DSA tutorial.\n" DropShadow on } } }