📄 exm09321_1.mdl
字号:
Model {
Name "exm932"
Version 3.00
SimParamPage "Solver"
SampleTimeColors off
InvariantConstants off
WideVectorLines off
ShowLineWidths off
ShowPortDataTypes off
StartTime "0.0"
StopTime "200.0"
SolverMode "Auto"
Solver "ode5"
RelTol "1e-3"
AbsTol "auto"
Refine "1"
MaxStep "auto"
InitialStep "auto"
FixedStep "0.05"
MaxOrder 5
OutputOption "RefineOutputTimes"
OutputTimes "[]"
LoadExternalInput off
ExternalInput "[t, u]"
SaveTime on
TimeSaveName "tout"
SaveState on
StateSaveName "xout"
SaveOutput off
OutputSaveName "yout"
LoadInitialState off
InitialState "xInitial"
SaveFinalState off
FinalStateName "xFinal"
SaveFormat "Matrix"
LimitMaxRows on
MaxRows "1000"
Decimation "1"
AlgebraicLoopMsg "warning"
MinStepSizeMsg "warning"
UnconnectedInputMsg "warning"
UnconnectedOutputMsg "warning"
UnconnectedLineMsg "warning"
InheritedTsInSrcMsg "warning"
IntegerOverflowMsg "warning"
UnnecessaryDatatypeConvMsg "none"
Int32ToFloatConvMsg "warning"
SignalLabelMismatchMsg "none"
ConsistencyChecking "off"
ZeroCross on
SimulationMode "normal"
BlockDataTips on
BlockParametersDataTip on
BlockAttributesDataTip off
BlockPortWidthsDataTip off
BlockDescriptionStringDataTip off
BlockMaskParametersDataTip off
ToolBar on
StatusBar on
BrowserShowLibraryLinks off
BrowserLookUnderMasks off
OptimizeBlockIOStorage on
BufferReuse on
BooleanDataType off
RTWSystemTargetFile "grt.tlc"
RTWInlineParameters off
RTWRetainRTWFile off
RTWTemplateMakefile "grt_default_tmf"
RTWMakeCommand "make_rtw"
RTWGenerateCodeOnly off
ExtModeMexFile "ext_comm"
ExtModeBatchMode off
ExtModeTrigType "manual"
ExtModeTrigMode "oneshot"
ExtModeTrigPort "1"
ExtModeTrigElement "any"
ExtModeTrigDuration 1000
ExtModeTrigHoldOff 0
ExtModeTrigDelay 0
ExtModeTrigDirection "rising"
ExtModeTrigLevel 0
ExtModeArchiveMode "off"
ExtModeAutoIncOneShot off
ExtModeIncDirWhenArm off
ExtModeAddSuffixToVar off
ExtModeWriteAllDataToWs off
ExtModeArmWhenConnect off
Created "Mon Dec 06 19:38:26 1999"
UpdateHistory "UpdateHistoryNever"
ModifiedByFormat "%<Auto>"
ModifiedDateFormat "%<Auto>"
LastModifiedDate "Tue Dec 07 00:19:55 1999"
ModelVersionFormat "1.%<AutoIncrement:2>"
ConfigurationManager "none"
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 "exm932"
Location [-4, 102, 447, 347]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "automatic"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
ReportName "simulink-default.rpt"
Block {
BlockType Abs
Name "Abs1"
Position [100, 150, 125, 170]
}
Block {
BlockType Abs
Name "Abs2"
Position [100, 210, 125, 230]
}
Block {
BlockType Constant
Name "CC"
Position [210, 149, 245, 171]
Value "0.01"
}
Block {
BlockType Clock
Name "Clock"
Position [15, 20, 35, 40]
DisplayTime off
Decimation "10"
}
Block {
BlockType Display
Name "Display"
Ports [1, 0, 0, 0, 0]
Position [345, 15, 435, 45]
Format "short"
Decimation "1"
Floating off
SampleTime "-1"
}
Block {
BlockType Gain
Name "G1"
Position [175, 75, 205, 105]
Gain "0.2"
SaturateOnIntegerOverflow on
Port {
PortNumber 1
Name "x''"
TestPoint off
RTWStorageClass "Auto"
}
}
Block {
BlockType Integrator
Name "Int2"
Ports [1, 1, 0, 0, 0]
Position [320, 75, 350, 105]
ExternalReset "none"
InitialConditionSource "internal"
InitialCondition "1"
LimitOutput off
UpperSaturationLimit "inf"
LowerSaturationLimit "-inf"
ShowSaturationPort off
ShowStatePort off
AbsoluteTolerance "auto"
Port {
PortNumber 1
Name "x"
TestPoint off
RTWStorageClass "Auto"
}
}
Block {
BlockType Integrator
Name "Integrator"
Ports [1, 1, 0, 0, 0]
Position [245, 75, 275, 105]
ShowName off
ExternalReset "none"
InitialConditionSource "internal"
InitialCondition "0"
LimitOutput off
UpperSaturationLimit "inf"
LowerSaturationLimit "-inf"
ShowSaturationPort off
ShowStatePort off
AbsoluteTolerance "auto"
Port {
PortNumber 1
Name "x'"
TestPoint off
RTWStorageClass "Auto"
}
}
Block {
BlockType RelationalOperator
Name "RO"
Position [290, 145, 315, 205]
Operator ">="
}
Block {
BlockType Signum
Name "Sign"
Position [115, 75, 145, 105]
Port {
PortNumber 1
Name "F"
TestPoint off
RTWStorageClass "Auto"
}
}
Block {
BlockType Stop
Name "Stop"
Position [400, 157, 435, 193]
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1, 0, 0, 0]
Position [60, 80, 80, 100]
ShowName off
IconShape "round"
Inputs "--"
SaturateOnIntegerOverflow on
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1, 0, 0, 0]
Position [175, 180, 195, 200]
ShowName off
IconShape "round"
Inputs "++"
SaturateOnIntegerOverflow on
}
Block {
BlockType Reference
Name "XY Graph"
Ports [2, 0, 0, 0, 0]
Position [405, 81, 435, 114]
SourceBlock "simulink3/Sinks/XY Graph"
SourceType "XY scope."
xmin "-1"
xmax "1"
ymin "-1"
ymax "1"
st "-1"
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Sign"
DstPort 1
}
Line {
Name "F"
Labels [-1, 1]
SrcBlock "Sign"
SrcPort 1
DstBlock "G1"
DstPort 1
}
Line {
Name "x''"
Labels [0, 1]
SrcBlock "G1"
SrcPort 1
DstBlock "Integrator"
DstPort 1
}
Line {
Name "x'"
Labels [1, 0]
SrcBlock "Integrator"
SrcPort 1
Points [15, 0]
Branch {
DstBlock "Int2"
DstPort 1
}
Branch {
Points [0, 50]
Branch {
Points [80, 0; 0, -35]
DstBlock "XY Graph"
DstPort 2
}
Branch {
Points [-225, 0]
Branch {
DstBlock "Sum"
DstPort 2
}
Branch {
Points [0, 20]
DstBlock "Abs1"
DstPort 1
}
}
}
}
Line {
Name "x"
Labels [0, 1]
SrcBlock "Int2"
SrcPort 1
Points [20, 0]
Branch {
DstBlock "XY Graph"
DstPort 1
}
Branch {
Points [0, -30; -305, 0]
Branch {
DstBlock "Sum"
DstPort 1
}
Branch {
Points [-45, 0; 0, 160]
DstBlock "Abs2"
DstPort 1
}
}
}
Line {
SrcBlock "Abs1"
SrcPort 1
Points [55, 0]
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "Abs2"
SrcPort 1
Points [55, 0]
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "RO"
SrcPort 1
DstBlock "Stop"
DstPort 1
}
Line {
SrcBlock "CC"
SrcPort 1
DstBlock "RO"
DstPort 1
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "RO"
DstPort 2
}
Line {
SrcBlock "Clock"
SrcPort 1
DstBlock "Display"
DstPort 1
}
Annotation {
Position [41, 88]
Text "Sum1"
}
Annotation {
Position [153, 190]
Text "Sum2"
}
Annotation {
Position [259, 113]
Text "Int1"
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -