📄 cont_mod.mdl
字号:
Model {
Name "CONT_MOD"
Version 5.0
SaveDefaultBlockParams on
SampleTimeColors off
LibraryLinkDisplay "none"
WideLines off
ShowLineDimensions off
ShowPortDataTypes off
ShowLoopsOnError on
IgnoreBidirectionalLines off
ShowStorageClass off
ExecutionOrder off
RecordCoverage off
CovPath "/"
CovSaveName "covdata"
CovMetricSettings "dw"
CovNameIncrementing off
CovHtmlReporting on
covSaveCumulativeToWorkspaceVar on
CovSaveSingleToWorkspaceVar on
CovCumulativeVarName "covCumulativeData"
CovCumulativeReport off
DataTypeOverride "UseLocalSettings"
MinMaxOverflowLogging "UseLocalSettings"
MinMaxOverflowArchiveMode "Overwrite"
BlockNameDataTip off
BlockParametersDataTip off
BlockDescriptionStringDataTip off
ToolBar on
StatusBar on
BrowserShowLibraryLinks off
BrowserLookUnderMasks off
Created "Mon May 24 09:22:49 2004"
UpdateHistory "UpdateHistoryNever"
ModifiedByFormat "%<Auto>"
LastModifiedBy "Administrator"
ModifiedDateFormat "%<Auto>"
LastModifiedDate "Mon May 24 09:39:11 2004"
ModelVersionFormat "1.%<AutoIncrement:1>"
ConfigurationManager "None"
SimParamPage "Solver"
LinearizationMsg "none"
Profile off
ParamWorkspaceSource "MATLABWorkspace"
AccelSystemTargetFile "accel.tlc"
AccelTemplateMakefile "accel_default_tmf"
AccelMakeCommand "make_rtw"
TryForcingSFcnDF off
ExtModeMexFile "ext_comm"
ExtModeBatchMode off
ExtModeTrigType "manual"
ExtModeTrigMode "normal"
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 on
ExtModeSkipDownloadWhenConnect off
ExtModeLogAll on
ExtModeAutoUpdateStatusClock on
BufferReuse on
RTWExpressionDepthLimit 5
SimulationMode "normal"
Solver "ode45"
SolverMode "Auto"
StartTime "0.0"
StopTime "10.0"
MaxOrder 5
MaxStep "auto"
MinStep "auto"
MaxNumMinSteps "-1"
InitialStep "auto"
FixedStep "auto"
RelTol "1e-3"
AbsTol "auto"
OutputOption "RefineOutputTimes"
OutputTimes "[]"
Refine "1"
LoadExternalInput off
ExternalInput "[t, u]"
LoadInitialState off
InitialState "xInitial"
SaveTime on
TimeSaveName "tout"
SaveState off
StateSaveName "xout"
SaveOutput on
OutputSaveName "yout"
SaveFinalState off
FinalStateName "xFinal"
SaveFormat "Array"
Decimation "1"
LimitDataPoints on
MaxDataPoints "1000"
SignalLoggingName "sigsOut"
ConsistencyChecking "none"
ArrayBoundsChecking "none"
AlgebraicLoopMsg "warning"
BlockPriorityViolationMsg "warning"
MinStepSizeMsg "warning"
InheritedTsInSrcMsg "warning"
DiscreteInheritContinuousMsg "warning"
MultiTaskRateTransMsg "error"
SingleTaskRateTransMsg "none"
CheckForMatrixSingularity "none"
IntegerOverflowMsg "warning"
Int32ToFloatConvMsg "warning"
ParameterDowncastMsg "error"
ParameterOverflowMsg "error"
ParameterPrecisionLossMsg "warning"
UnderSpecifiedDataTypeMsg "none"
UnnecessaryDatatypeConvMsg "none"
VectorMatrixConversionMsg "none"
InvalidFcnCallConnMsg "error"
SignalLabelMismatchMsg "none"
UnconnectedInputMsg "warning"
UnconnectedOutputMsg "warning"
UnconnectedLineMsg "warning"
SfunCompatibilityCheckMsg "none"
RTWInlineParameters off
BlockReductionOpt on
BooleanDataType on
ConditionallyExecuteInputs on
ParameterPooling on
OptimizeBlockIOStorage on
ZeroCross on
AssertionControl "UseLocalSettings"
ProdHWDeviceType "Microprocessor"
ProdHWWordLengths "8,16,32,32"
RTWSystemTargetFile "grt.tlc"
RTWTemplateMakefile "grt_default_tmf"
RTWMakeCommand "make_rtw"
RTWGenerateCodeOnly off
RTWRetainRTWFile off
TLCProfiler off
TLCDebug off
TLCCoverage off
TLCAssertion off
BlockDefaults {
Orientation "right"
ForegroundColor "black"
BackgroundColor "white"
DropShadow off
NamePlacement "normal"
FontName "Helvetica"
FontSize 10
FontWeight "normal"
FontAngle "normal"
ShowName on
}
BlockParameterDefaults {
Block {
BlockType Demux
Outputs "4"
DisplayOption "none"
BusSelectionMode off
}
Block {
BlockType Ground
}
Block {
BlockType "S-Function"
FunctionName "system"
PortCounts "[]"
SFunctionModules "''"
}
Block {
BlockType SubSystem
ShowPortLabels on
Permissions "ReadWrite"
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
SimViewingDevice off
DataTypeOverride "UseLocalSettings"
MinMaxOverflowLogging "UseLocalSettings"
}
Block {
BlockType Terminator
}
}
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 "CONT_MOD"
Location [2, 78, 1022, 748]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
ReportName "simulink-default.rpt"
Block {
BlockType SubSystem
Name "Chart"
Ports []
Position [115, 59, 175, 111]
FontSize 10
TreatAsAtomicUnit off
MaskType "Stateflow"
MaskDescription "Stateflow diagram"
MaskDisplay "plot(sf('Private','sfblk','xIcon'),sf('Private'"
",'sfblk','yIcon'));text(0.5,0,sf('Private', 'sfblk', 'tIcon'),'HorizontalAl',"
"'Center','VerticalAl','Bottom');"
MaskSelfModifiable on
MaskIconFrame off
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "Chart"
Location [257, 457, 812, 717]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Demux
Name " Demux "
Ports [1, 1]
Position [270, 100, 320, 140]
Outputs "1"
}
Block {
BlockType Ground
Name " Ground "
Position [20, 111, 40, 129]
}
Block {
BlockType "S-Function"
Name " SFunction "
Tag "Stateflow S-Function CONT_MOD 1"
Ports [1, 1]
Position [180, 100, 230, 140]
FunctionName "sf_sfun"
PortCounts "[1 1]"
}
Block {
BlockType Terminator
Name " Terminator "
Position [460, 111, 480, 129]
}
Line {
SrcBlock " Demux "
SrcPort 1
DstBlock " Terminator "
DstPort 1
}
Line {
SrcBlock " Ground "
SrcPort 1
DstBlock " SFunction "
DstPort 1
}
Line {
SrcBlock " SFunction "
SrcPort 1
DstBlock " Demux "
DstPort 1
}
}
}
}
}
# Finite State Machines
# -- File save dated 24-May-2004 09:39:12
#
# Stateflow Version 5.0 (R13) dated Jun 21 2002, 09:11:50
#
#
Stateflow {
machine {
id 1
name "CONT_MOD"
created "24-May-2004 09:22:58"
isLibrary 0
firstTarget 14
sfVersion 50013001.000001
}
chart {
id 2
name "Chart"
windowPosition [0 0 768 517.5]
viewLimits [0 724.5 0 481.5]
screen [1 1 1024 768 1.333333333333333]
treeNode [0 3 0 0]
viewObj 2
visible 1
machine 1
subviewS {
}
decomposition CLUSTER_CHART
chartFileNumber 1
}
state {
id 3
labelString "A/"
position [80 46.875 558.25 210.75]
fontSize 12
chart 2
treeNode [2 4 0 0]
firstTransition 9
subviewer 2
type OR_STATE
decomposition CLUSTER_STATE
}
state {
id 4
labelString "A1/"
position [114.5 77.25 289.625 160.125]
fontSize 12
chart 2
treeNode [3 6 0 5]
firstTransition 10
subviewer 2
type OR_STATE
decomposition CLUSTER_STATE
}
state {
id 5
labelString "A2/\n"
"during:Q6=1;Q5=1;Q1=0;Q2=0;\n"
" Q3=0;Q4=0;"
position [431 80.25 192.125 83.625]
fontSize 12
chart 2
treeNode [3 0 4 0]
subviewer 2
type OR_STATE
decomposition CLUSTER_STATE
}
state {
id 6
labelString "A11/\n"
"during:"
position [129.5 114 111.125 103.125]
fontSize 12
chart 2
treeNode [4 0 0 7]
subviewer 2
type OR_STATE
decomposition CLUSTER_STATE
}
state {
id 7
labelString "A12/"
position [263 114 122.375 99.375]
fontSize 12
chart 2
treeNode [4 0 6 0]
subviewer 2
type OR_STATE
decomposition CLUSTER_STATE
}
transition {
id 8
labelString "[IV>IVSTAR]"
labelPosition [443 183 66.681 14.977]
fontSize 12
src {
id 4
intersection [2 1 0 0.7494 404.125 197.25 0 75.1875]
}
dst {
id 5
intersection [3 0 1 0.8126 467 163.875 0 -77.8125]
}
midPoint [446.1065 193.0029]
chart 2
linkNode [3 9 0]
dataLimits [404.125 469.4 163.875 197.25]
subviewer 2
drawStyle SMART
slide {
mode MIRROR_SLIDE
sticky BOTH_STICK
}
}
transition {
id 9
labelString "[IV<IVSTAR]"
labelPosition [434.75 52.5 66.681 14.977]
fontSize 12
src {
id 5
intersection [1 0 -1 0.082 446.75 80.25 0 57.5625]
}
dst {
id 4
intersection [1 0 -1 0.9012 375.5 77.25 0 -73.4375]
}
midPoint [408.8031 56.5969]
chart 2
linkNode [3 0 8]
dataLimits [373.1 446.75 55.999 80.25]
subviewer 2
drawStyle SMART
slide {
mode MIRROR_SLIDE
sticky BOTH_STICK
}
}
transition {
id 10
labelString "[1]"
labelPosition [212 96.522 14.235 14.977]
fontSize 12
src {
intersection [0 0 1 0 212 84 0 0]
}
dst {
id 6
intersection [1 0 -1 0.7424 212 114 0 0]
}
midPoint [212 95.3915]
chart 2
linkNode [4 0 11]
dataLimits [209.6 214.4 84 114]
subviewer 2
drawStyle SMART
}
transition {
id 11
labelString "[IV>0]"
labelPosition [266 89.25 31.467 14.977]
fontSize 12
src {
id 7
intersection [1 0 -1 0.1348 279.5 114 0 68.0625]
}
dst {
id 6
intersection [1 0 -1 0.8705 226.2352 114 0 -65.9523]
}
midPoint [251.1318 96.4483]
chart 2
linkNode [4 10 12]
dataLimits [223.835 279.5 96.029 114]
subviewer 2
drawStyle SMART
slide {
mode MIRROR_SLIDE
sticky BOTH_STICK
}
}
transition {
id 12
labelString "[IV<=0]"
labelPosition [280.25 215.25 38.21 14.977]
fontSize 12
src {
id 6
intersection [3 0 1 0.1496 224 217.125 0 68.1875]
}
dst {
id 7
intersection [3 0 1 0.8468 281.75 213.375 0 -66.5625]
}
midPoint [254.757 233.8291]
chart 2
linkNode [4 11 0]
dataLimits [224 284.15 213.375 233.885]
subviewer 2
drawStyle SMART
slide {
mode MIRROR_SLIDE
sticky BOTH_STICK
}
}
instance {
id 13
name "Chart"
machine 1
chart 2
}
target {
id 14
name "sfun"
description "Default Simulink S-Function Target."
machine 1
linkNode [1 0 0]
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -