📄 chap21c.mdl
字号:
Model {
Name "chap21c"
Version 2.20
SimParamPage Solver
SampleTimeColors off
InvariantConstants off
WideVectorLines off
ShowLineWidths off
StartTime "0.0"
StopTime "60"
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
RTWPlaceOutputsASAP off
RTWRetainRTWFile off
RTWTemplateMakefile "grt_default_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 "chap21c"
Location [203, 82, 758, 342]
Open on
ToolBar on
StatusBar on
ScreenColor white
PaperOrientation landscape
PaperPositionMode auto
PaperType usletter
PaperUnits inches
Block {
BlockType Reference
Name "Band-Limited\nWhite Noise"
Ports [0, 1, 0, 0, 0]
Position [210, 105, 240, 135]
SourceBlock "simulink/Sources/Band-Limited\nWhite Noise"
SourceType "Continuous White Noise."
Cov "1"
Ts "0.1"
seed "[23341]"
}
Block {
BlockType Gain
Name "Gain"
Position [220, 40, 250, 70]
Gain "10"
}
Block {
BlockType Relay
Name "Relay"
Position [165, 40, 195, 70]
OnSwitchValue "0.15"
OffSwitchValue "-0.15"
OnOutputValue "1"
OffOutputValue "-1"
}
Block {
BlockType Scope
Name "Scope"
Ports [1, 0, 0, 0, 0]
Position [480, 40, 510, 70]
Floating off
Location [407, 321, 731, 560]
Open on
Grid on
TickLabels on
ZoomMode xonly
TimeRange "auto"
YMin "-5"
YMax "5"
SaveToWorkspace off
SaveName "ScopeData"
LimitMaxRows on
MaxRows "5000"
Decimation "1"
SampleInput off
SampleTime "0"
}
Block {
BlockType Step
Name "Step"
Position [35, 30, 65, 60]
Time "0"
Before "0"
After "0"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1, 0, 0, 0]
Position [110, 37, 140, 68]
Inputs "+-"
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1, 0, 0, 0]
Position [270, 37, 300, 68]
Inputs "++"
}
Block {
BlockType ToWorkspace
Name "To Workspace"
Position [480, 105, 540, 135]
VariableName "y"
Buffer "inf"
Decimation "1"
SampleTime "-1"
}
Block {
BlockType TransferFcn
Name "Transfer Fcn"
Position [320, 37, 375, 73]
Numerator "[1]"
Denominator "[1 3 2]"
}
Block {
BlockType TransportDelay
Name "Transport\nDelay"
Position [400, 40, 430, 70]
DelayTime "10"
InitialInput "0"
BufferSize "1024"
}
Line {
SrcBlock "Transfer Fcn"
SrcPort 1
DstBlock "Transport\nDelay"
DstPort 1
}
Line {
SrcBlock "Transport\nDelay"
SrcPort 1
Points [15, 0]
Branch {
DstBlock "Scope"
DstPort 1
}
Branch {
Points [0, 65]
Branch {
Points [0, 65; -355, 0]
DstBlock "Sum"
DstPort 2
}
Branch {
DstBlock "To Workspace"
DstPort 1
}
}
}
Line {
SrcBlock "Step"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Relay"
DstPort 1
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "Transfer Fcn"
DstPort 1
}
Line {
SrcBlock "Gain"
SrcPort 1
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "Band-Limited\nWhite Noise"
SrcPort 1
Points [10, 0]
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "Relay"
SrcPort 1
DstBlock "Gain"
DstPort 1
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -