📄 sim12xxb.mdl
字号:
Model {
Name "sim12ex10"
Version 2.09
SimParamPage Solver
SampleTimeColors off
InvariantConstants off
WideVectorLines off
ShowLineWidths off
PaperOrientation landscape
PaperType usletter
PaperUnits inches
StartTime "0.0"
StopTime "10"
Solver ode45
RelTol "1e-3"
AbsTol "1e-3"
Refine "1"
MaxStep ".10"
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
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 "sim12ex10"
Location [186, 222, 686, 522]
Open on
ScreenColor white
Block {
BlockType Scope
Name "Scope"
Ports [1, 0, 0, 0, 0]
Position [320, 107, 360, 153]
Floating off
Location [188, 365, 512, 604]
Open off
Grid on
TickLabels on
ZoomMode on
TimeRange "auto"
YMin "-5"
YMax "5"
SaveToWorkspace off
SaveName "ScopeData"
LimitMaxRows on
MaxRows "5000"
Decimation "1"
SampleInput off
SampleTime "0"
}
Block {
BlockType StateSpace
Name "State-Space"
Position [170, 99, 270, 161]
A "[-5 0 -100; 2 -2 0; 0 0.1 -0.08]"
B "[0; 0 ; -0.1]"
C "[0 0 1]"
D "0"
X0 "0"
}
Block {
BlockType Step
Name "Step Input"
Position [70, 110, 110, 150]
Time "10"
Before "0.2"
After ".2"
}
Line {
SrcBlock "State-Space"
SrcPort 1
DstBlock "Scope"
DstPort 1
}
Line {
SrcBlock "Step Input"
SrcPort 1
DstBlock "State-Space"
DstPort 1
}
Annotation {
Position [237, 195]
FontSize 12
Text "Simulation block diagram for Example 12.10(b)"
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -