📄 ex6_2a.mdl
字号:
Model { Name "ex5_2a" Version 2.09 SimParamPage Solver SampleTimeColors off InvariantConstants off WideVectorLines off ShowLineWidths off PaperOrientation landscape PaperType usletter PaperUnits inches StartTime "0.0" StopTime "50.0" Solver ode45 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 "ex5_2a" Location [62, 373, 441, 559] Open on ScreenColor white Block { BlockType Gain Name "1/m" Position [65, 12, 95, 48] Gain "0.2" } Block { BlockType Integrator Name "Displacement" Ports [1, 1, 0, 0, 0] Position [250, 20, 275, 60] ExternalReset none InitialConditionSource internal InitialCondition "0" LimitOutput off UpperSaturationLimit "inf" LowerSaturationLimit "-inf" ShowSaturationPort off ShowStatePort off AbsoluteTolerance "auto" } Block { BlockType Scope Name "Scope" Ports [1, 0, 0, 0, 0] Position [320, 21, 350, 59] Floating off Location [50, 30, 374, 269] Open on Grid on TickLabels on ZoomMode on TimeRange "50 " YMin "0 " YMax "1 " SaveToWorkspace on SaveName "p" LimitMaxRows on MaxRows "5000" Decimation "1" SampleInput off SampleTime "0" } Block { BlockType Step Name "Step" Position [15, 15, 45, 45] Time "0" Before "0" After "1" } Block { BlockType Sum Name "Sum" Ports [3, 1, 0, 0, 0] Position [135, 22, 160, 58] Inputs "+--" } Block { BlockType Integrator Name "Velocity" Ports [1, 1, 0, 0, 0] Position [185, 20, 210, 60] ExternalReset none InitialConditionSource internal InitialCondition "0" LimitOutput off UpperSaturationLimit "inf" LowerSaturationLimit "-inf" ShowSaturationPort off ShowStatePort off AbsoluteTolerance "auto" } Block { BlockType Gain Name "c/m" Position [160, 81, 190, 119] Orientation left Gain "0.2" MaskIconFrame on MaskIconOpaque on MaskIconRotate none MaskIconUnits autoscale } Block { BlockType Gain Name "k/m" Position [205, 125, 245, 165] Orientation left Gain "0.4" MaskIconFrame on MaskIconOpaque on MaskIconRotate none MaskIconUnits autoscale } Line { SrcBlock "Velocity" SrcPort 1 Points [10, 0] Branch { Points [0, 60] DstBlock "c/m" DstPort 1 } Branch { DstBlock "Displacement" DstPort 1 } } Line { SrcBlock "Sum" SrcPort 1 DstBlock "Velocity" DstPort 1 } Line { SrcBlock "Displacement" SrcPort 1 Points [15, 0] Branch { DstBlock "Scope" DstPort 1 } Branch { Points [0, 105] DstBlock "k/m" DstPort 1 } } Line { SrcBlock "c/m" SrcPort 1 Points [-45, 0; 0, -50] DstBlock "Sum" DstPort 3 } Line { SrcBlock "k/m" SrcPort 1 Points [-105, 0; 0, -105] DstBlock "Sum" DstPort 2 } Line { SrcBlock "1/m" SrcPort 1 DstBlock "Sum" DstPort 1 } Line { SrcBlock "Step" SrcPort 1 DstBlock "1/m" DstPort 1 } }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -