block27.mdl
来自「realize analysis and design for computer」· MDL 代码 · 共 114 行
MDL
114 行
Model { Name "block27" Version 2.00 SimParamPage Solver SampleTimeColors off WideVectorLines off PaperOrientation landscape StartTime "0.0" StopTime "999999" 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 off TimeSaveName "tout" SaveState off StateSaveName "xout" SaveOutput off 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 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 } System { Name "block27" Location [70, 200, 570, 460] Open on ScreenColor white Block { BlockType DiscreteTransferFcn Name "Discrete\nTransfer Fcn" Position [135, 106, 210, 154] BackgroundColor magenta DropShadow on ShowName off Numerator "[0 b1 b2]" Denominator "[1 a1 a2]" SampleTime "h" } Block { BlockType Step Name "Step Input" Position [65, 120, 85, 140] DropShadow on ShowName off Time "0" Before "0" After "1" } Block { BlockType Outport Name "Outport" Position [245, 120, 265, 140] ShowName off Port "1" OutputWhenDisabled held InitialOutput "0" } Line { SrcBlock "Step Input" SrcPort 1 DstBlock "Discrete\nTransfer Fcn" DstPort 1 } Line { SrcBlock "Discrete\nTransfer Fcn" SrcPort 1 DstBlock "Outport" DstPort 1 } }}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?