📄 ex7_3.mdl
字号:
Model { Name "ex6_3" Version 2.09 SimParamPage Solver SampleTimeColors off InvariantConstants off WideVectorLines off ShowLineWidths off PaperOrientation landscape PaperType usletter PaperUnits inches StartTime "0.0" StopTime "20" Solver VariableStepDiscrete RelTol "1e-3" AbsTol "1e-6" 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" LimitMaxRows off MaxRows "1000" Decimation "1" AlgebraicLoopMsg warning MinStepSizeMsg warning UnconnectedInputMsg warning UnconnectedOutputMsg warning UnconnectedLineMsg warning ConsistencyChecking off ZeroCross on SimulationMode normal RTWSystemTargetFile "grt.tlc" RTWInlineParameters off RTWRetainRTWFile off RTWTemplateMakefile "grt_vc.tmf" RTWMakeCommand "make_rtw" RTWGenerateCodeOnly off ExtModeMexFile "ext_comm" 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 "ex6_3" Location [197, 161, 821, 285] Open on ScreenColor white Block { BlockType DiscreteFilter Name "Discrete Filter" Position [155, 31, 430, 79] Numerator "[0.0048 0.0193 0.0289 0.0193 0.0048]" Denominator "[1.0000 -2.3695 2.3140 -1.0547 0.1874]" SampleTime ".1" } Block { BlockType Mux Name "Mux" Ports [2, 1, 0, 0, 0] Position [465, 27, 500, 63] Inputs "2" } Block { BlockType Scope Name "Scope" Ports [1, 0, 0, 0, 0] Position [535, 30, 565, 60] Floating off Location [97, 440, 421, 679] Open on Grid on TickLabels on ZoomMode on TimeRange "20" YMin "-1.5" YMax "1.5" SaveToWorkspace on SaveName "ScopeData" LimitMaxRows on MaxRows "5000" Decimation "1" SampleInput off SampleTime "0" } Block { BlockType Sin Name "Sine Wave" Position [30, 15, 60, 45] Amplitude "1" Frequency "0.5" Phase "0" SampleTime "-1" } Block { BlockType Sin Name "Sine Wave1" Position [30, 65, 60, 95] Amplitude "0.4" Frequency "10" Phase "0" SampleTime "-1" } Block { BlockType Sum Name "Sum" Ports [2, 1, 0, 0, 0] Position [90, 37, 120, 68] Inputs "++" } Line { SrcBlock "Sum" SrcPort 1 Points [5, 0] Branch { DstBlock "Discrete Filter" DstPort 1 } Branch { Points [0, -50; 320, 0] DstBlock "Mux" DstPort 1 } } Line { SrcBlock "Discrete Filter" SrcPort 1 DstBlock "Mux" DstPort 2 } Line { SrcBlock "Sine Wave1" SrcPort 1 Points [10, 0] DstBlock "Sum" DstPort 2 } Line { SrcBlock "Sine Wave" SrcPort 1 Points [10, 0] DstBlock "Sum" DstPort 1 } Line { SrcBlock "Mux" SrcPort 1 DstBlock "Scope" DstPort 1 } }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -