📄 cruiseconfig.mdl
字号:
Model {
Name "cruiseconfig"
Version 4.00
SampleTimeColors off
LibraryLinkDisplay "none"
WideLines off
ShowLineDimensions off
ShowPortDataTypes off
RecordCoverage off
CovPath "/"
CovSaveName "covdata"
CovNameIncrementing off
CovHtmlReporting on
BlockNameDataTip off
BlockParametersDataTip on
BlockDescriptionStringDataTip off
ToolBar on
StatusBar on
BrowserShowLibraryLinks off
BrowserLookUnderMasks off
Created "Wed Jun 28 13:38:59 2000"
UpdateHistory "UpdateHistoryNever"
ModifiedByFormat "%<Auto>"
LastModifiedBy "obas"
ModifiedDateFormat "%<Auto>"
LastModifiedDate "Thu Oct 12 16:01:51 2000"
ModelVersionFormat "1.%<AutoIncrement:9>"
ConfigurationManager "none"
SimParamPage "Solver"
StartTime "0.0"
StopTime "10"
SolverMode "Auto"
Solver "ode45"
RelTol "1e-3"
AbsTol "auto"
Refine "1"
MaxStep "auto"
MinStep "auto"
MaxNumMinSteps "-1"
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"
SaveFormat "Array"
LimitDataPoints off
MaxDataPoints "1000"
Decimation "1"
AlgebraicLoopMsg "warning"
MinStepSizeMsg "warning"
UnconnectedInputMsg "warning"
UnconnectedOutputMsg "warning"
UnconnectedLineMsg "warning"
InheritedTsInSrcMsg "warning"
SingleTaskRateTransMsg "none"
MultiTaskRateTransMsg "error"
IntegerOverflowMsg "warning"
CheckForMatrixSingularity "none"
UnnecessaryDatatypeConvMsg "none"
Int32ToFloatConvMsg "warning"
SignalLabelMismatchMsg "none"
LinearizationMsg "none"
VectorMatrixConversionMsg "none"
SfunCompatibilityCheckMsg "none"
BlockPriorityViolationMsg "warning"
ArrayBoundsChecking "none"
ConsistencyChecking "none"
ZeroCross on
Profile off
SimulationMode "normal"
RTWSystemTargetFile "grt.tlc"
RTWInlineParameters off
RTWRetainRTWFile off
RTWTemplateMakefile "grt_default_tmf"
RTWMakeCommand "make_rtw"
RTWGenerateCodeOnly off
TLCProfiler off
TLCDebug off
TLCCoverage off
AccelSystemTargetFile "accel.tlc"
AccelTemplateMakefile "accel_default_tmf"
AccelMakeCommand "make_rtw"
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
ExtModeLogAll on
OptimizeBlockIOStorage on
BufferReuse on
ParameterPooling on
BlockReductionOpt off
BooleanDataType 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 "cruiseconfig"
Location [362, 269, 922, 481]
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 SubSystem
Name "Configurable\nSubsystem"
Ports [1, 1]
Position [240, 73, 345, 137]
AttributesFormatString "%<BlockChoice>"
ShowPortLabels on
BlockChoice "PID cruise control"
TemplateBlock "cruiselib/Configurable\nSubsystem"
MemberBlocks "PI cruise control,PID cruise control"
TreatAsAtomicUnit off
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
System {
Name "Configurable\nSubsystem"
Location [148, 182, 646, 482]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
Block {
BlockType Inport
Name "error"
Position [20, 40, 40, 60]
FontName "MS Sans Serif"
Port "1"
Interpolate on
}
Block {
BlockType Reference
Name "PID cruise control"
Ports [1, 1]
Position [100, 40, 140, 80]
AncestorBlock "simclasslib/discrete cruise controller"
SourceBlock "cruiselib/PID cruise control"
SourceType "Discrete PID cruise control"
P "20"
I "0.1"
D "2"
}
Block {
BlockType Outport
Name "force"
Position [200, 40, 220, 60]
FontName "MS Sans Serif"
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "error"
SrcPort 1
DstBlock "PID cruise control"
DstPort 1
}
Line {
SrcBlock "PID cruise control"
SrcPort 1
DstBlock "force"
DstPort 1
}
}
}
Block {
BlockType Constant
Name "Constant"
Position [20, 90, 50, 120]
Value "1"
VectorParams1D on
}
Block {
BlockType Scope
Name "Scope"
Ports [1]
Position [495, 89, 525, 121]
Floating off
Location [591, 108, 915, 347]
Open on
NumInputPorts "1"
TickLabels "OneTimeTick"
ZoomMode "on"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
Grid "on"
TimeRange "auto"
YMin "42.75"
YMax "47.25"
SaveToWorkspace off
SaveName "ScopeData"
DataFormat "StructureWithTime"
LimitDataPoints off
MaxDataPoints "5000"
Decimation "1"
SampleInput off
SampleTime "0"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [175, 95, 195, 115]
ShowName off
IconShape "round"
Inputs "|+-"
SaturateOnIntegerOverflow on
}
Block {
BlockType Reference
Name "car dynamics"
Ports [1, 1]
Position [375, 79, 440, 131]
SourceBlock "simclasslib/car dynamics"
SourceType "SubSystem"
ShowPortLabels on
TreatAsAtomicUnit off
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
}
Block {
BlockType Reference
Name "set speed"
Ports [1, 1]
Position [80, 79, 155, 131]
SourceBlock "simclasslib/set speed"
SourceType "SubSystem"
ShowPortLabels on
TreatAsAtomicUnit off
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Configurable\nSubsystem"
DstPort 1
}
Line {
SrcBlock "car dynamics"
SrcPort 1
Points [30, 0]
Branch {
Points [0, 70; -290, 0]
DstBlock "Sum"
DstPort 2
}
Branch {
DstBlock "Scope"
DstPort 1
}
}
Line {
SrcBlock "Constant"
SrcPort 1
DstBlock "set speed"
DstPort 1
}
Line {
SrcBlock "set speed"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Configurable\nSubsystem"
SrcPort 1
DstBlock "car dynamics"
DstPort 1
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -