📄 multi_target.mdl
字号:
Model {
Name "multi_target"
Version 5.0
SaveDefaultBlockParams on
SampleTimeColors off
LibraryLinkDisplay "none"
WideLines off
ShowLineDimensions off
ShowPortDataTypes on
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
CloseFcn "rtwprivate ssgencode ModelCloseRequest FixPt_CodeGe"
"nModel2"
Created "Tue Apr 24 15:19:09 2001"
Creator "pmenter"
UpdateHistory "UpdateHistoryNever"
ModifiedByFormat "%<Auto>"
LastModifiedBy "pmenter"
ModifiedDateFormat "%<Auto>"
LastModifiedDate "Tue Jun 18 08:19:57 2002"
ModelVersionFormat "1.%<AutoIncrement:179>"
ConfigurationManager "None"
SimParamPage "Solver"
LinearizationMsg "none"
Profile off
ParamWorkspaceSource "MATLABWorkspace"
AccelSystemTargetFile "accel.tlc"
AccelTemplateMakefile "accel_default_tmf"
AccelMakeCommand "make_rtw"
TryForcingSFcnDF off
ExtModeMexFile "no_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
TunableVars "AIR_TABLE,COMPLETE_THR,D,DESIRED_INERTIA_TIME,DOWN,"
"ECT_TABLE_X,ECT_TABLE_Y,ENGNS_CAL_BatteryVoltMin,ENGNS_CAL_MinCrankRPM,ENGNS_"
"CAL_MinRunRPM,ENGNS_CAL_RunToStallRPM,ENGNS_CAL_StallToCrankRPM,ENGNS_EngRunT"
"imeRes,FALSE,HOLD,I,IAT_TABLE_X,IAT_TABLE_Y,INERTIA_THR,INJ_SLOPE,MANIFOLD_PR"
"ESSURE_AXIS,MAP_TABLE_X,MAP_TABLE_Y,MAX_PRESSURE,OFF,ON,P,RELEASE,RPM_AXIS,RU"
"N,R_1,R_2,SPARK_TABLE,ST,TORQUE_RATIO,TPS_TABLE_X,TPS_TABLE_Y,TRUE,UP,nPmVd_o"
"ver_2R"
TunableVarsStorageClass "ExportedGlobal,ExportedGlobal,ExportedGlobal,Export"
"edGlobal,ExportedGlobal,ExportedGlobal,ExportedGlobal,ExportedGlobal,Exported"
"Global,ExportedGlobal,ExportedGlobal,ExportedGlobal,ExportedGlobal,ExportedGl"
"obal,ExportedGlobal,ExportedGlobal,ExportedGlobal,ExportedGlobal,ExportedGlob"
"al,ExportedGlobal,ExportedGlobal,ExportedGlobal,ExportedGlobal,ExportedGlobal"
",ExportedGlobal,ExportedGlobal,ExportedGlobal,ExportedGlobal,ExportedGlobal,E"
"xportedGlobal,ExportedGlobal,ExportedGlobal,ExportedGlobal,ExportedGlobal,Exp"
"ortedGlobal,ExportedGlobal,ExportedGlobal,ExportedGlobal,ExportedGlobal,Expor"
"tedGlobal"
TunableVarsTypeQualifier ",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,"
BufferReuse on
RTWExpressionDepthLimit 1
SimulationMode "normal"
Solver "FixedStepDiscrete"
SolverMode "SingleTasking"
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 off
TimeSaveName "tout"
SaveState off
StateSaveName "xout"
SaveOutput off
OutputSaveName "yout"
SaveFinalState off
FinalStateName "xFinal"
SaveFormat "Array"
Decimation "1"
LimitDataPoints off
MaxDataPoints "1000"
SignalLoggingName "sigsOut"
ConsistencyChecking "none"
ArrayBoundsChecking "none"
AlgebraicLoopMsg "none"
BlockPriorityViolationMsg "warning"
MinStepSizeMsg "warning"
InheritedTsInSrcMsg "none"
DiscreteInheritContinuousMsg "none"
MultiTaskRateTransMsg "warning"
SingleTaskRateTransMsg "none"
CheckForMatrixSingularity "none"
IntegerOverflowMsg "none"
Int32ToFloatConvMsg "none"
ParameterDowncastMsg "none"
ParameterOverflowMsg "none"
ParameterPrecisionLossMsg "none"
UnderSpecifiedDataTypeMsg "none"
UnnecessaryDatatypeConvMsg "none"
VectorMatrixConversionMsg "none"
InvalidFcnCallConnMsg "none"
SignalLabelMismatchMsg "none"
UnconnectedInputMsg "none"
UnconnectedOutputMsg "none"
UnconnectedLineMsg "none"
SfunCompatibilityCheckMsg "none"
RTWInlineParameters on
BlockReductionOpt on
BooleanDataType on
ConditionallyExecuteInputs on
ParameterPooling on
OptimizeBlockIOStorage on
ZeroCross on
AssertionControl "UseLocalSettings"
ProdHWDeviceType "Microprocessor"
ProdHWWordLengths "8,32,16,32"
RTWSystemTargetFile "ert.tlc"
RTWTemplateMakefile "ert_default_tmf"
RTWMakeCommand "make_rtw"
RTWGenerateCodeOnly on
RTWRetainRTWFile off
TLCProfiler off
TLCDebug off
TLCCoverage off
TLCAssertion off
RTWOptions " -aCombineOutputUpdateFcns=1 -aEnforceIntegerDownca"
"st=0 -aExtMode=0 -aExtModeTesting=0 -aFoldNonRolledExpr=1 -aForceParamTrailCo"
"mments=0 -aGenFloatMathFcnCalls=\"ANSI_C\" -aGenerateASAP2=0 -aGenerateCommen"
"ts=1 -aGenerateErtSFunction=0 -aGenerateReport=1 -aGenerateSampleERTMain=0 -a"
"IgnoreCustomStorageClasses=0 -aIncDataTypeInIds=0 -aIncHierarchyInIds=0 -aInc"
"ludeMdlTerminateFcn=0 -aInitFltsAndDblsToZero=0 -aInlineInvariantSignals=1 -a"
"InlineParameters=1 -aInlinedParameterPlacement=\"Hierarchical\" -aInlinedPrmA"
"ccess=\"Literals\" -aInsertBlockDesc=1 -aLocalBlockOutputs=1 -aMatFileLogging"
"=0 -aMaxRTWIdLen=31 -aMultiInstanceERTCode=0 -aMultiInstanceErrorCode=\"Error"
"\" -aPrefixModelToSubsysFcnNames=0 -aPurelyIntegerCode=0 -aRTWVerbose=1 -aRol"
"lThreshold=5 -aShowEliminatedStatements=0 -aSuppressErrorStatus=1 -aTargetOS="
"\"BareBoardExample\" -aZeroExternalMemoryAtStartup=0 -aZeroInternalMemoryAtSt"
"artup=1"
BlockDefaults {
Orientation "right"
ForegroundColor "black"
BackgroundColor "white"
DropShadow off
NamePlacement "normal"
FontName "Helvetica"
FontSize 10
FontWeight "normal"
FontAngle "normal"
ShowName on
}
BlockParameterDefaults {
Block {
BlockType Constant
Value "1"
VectorParams1D on
ShowAdditionalParam off
OutDataTypeMode "Inherit from 'Constant value'"
OutDataType "sfix(16)"
ConRadixGroup "Use specified scaling"
OutScaling "2^0"
}
Block {
BlockType Demux
Outputs "4"
DisplayOption "none"
BusSelectionMode off
}
Block {
BlockType From
}
Block {
BlockType Gain
Gain "1"
Multiplication "Element-wise(K.*u)"
ShowAdditionalParam off
ParameterDataTypeMode "Same as input"
ParameterDataType "sfix(16)"
ParameterScalingMode "Best Precision: Matrix-wise"
ParameterScaling "2^0"
OutDataTypeMode "Same as input"
OutDataType "sfix(16)"
OutScaling "2^0"
LockScale off
RndMeth "Floor"
SaturateOnIntegerOverflow on
}
Block {
BlockType Goto
}
Block {
BlockType Inport
Port "1"
PortDimensions "-1"
SampleTime "-1"
ShowAdditionalParam off
LatchInput off
DataType "auto"
OutDataType "sfix(16)"
OutScaling "2^0"
SignalType "auto"
SamplingMode "auto"
Interpolate on
}
Block {
BlockType Lookup
InputValues "[-4:5]"
OutputValues " rand(1,10)-0.5"
ShowAdditionalParam off
LookUpMeth "Interpolation-Extrapolation"
OutDataTypeMode "Same as input"
OutDataType "sfix(16)"
OutScaling "2^0"
LockScale off
RndMeth "Floor"
SaturateOnIntegerOverflow on
}
Block {
BlockType Lookup2D
RowIndex "[0 1]"
ColumnIndex "[0 1]"
OutputValues "[0 0;0 0]"
ShowAdditionalParam off
LookUpMeth "Interpolation-Extrapolation"
InputSameDT on
OutDataTypeMode "Same as first input"
OutDataType "sfix(16)"
OutScaling "2^0"
LockScale off
RndMeth "Floor"
SaturateOnIntegerOverflow on
}
Block {
BlockType Merge
Inputs "2"
InitialOutput "[]"
AllowUnequalInputPortWidths off
InputPortOffsets "[]"
}
Block {
BlockType Outport
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Block {
BlockType Product
Inputs "2"
Multiplication "Element-wise(.*)"
ShowAdditionalParam off
InputSameDT on
OutDataTypeMode "Same as first input"
OutDataType "sfix(16)"
OutScaling "2^0"
LockScale off
RndMeth "Floor"
SaturateOnIntegerOverflow on
}
Block {
BlockType RelationalOperator
Operator ">="
ShowAdditionalParam off
InputSameDT on
LogicOutDataTypeMode "Logical (see Advanced Sim. Parameters)"
LogicDataType "uint(8)"
ZeroCross on
}
Block {
BlockType Saturate
UpperLimit "0.5"
LowerLimit "-0.5"
LinearizeAsGain on
ZeroCross on
}
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 Sum
IconShape "rectangular"
Inputs "++"
ShowAdditionalParam off
InputSameDT on
OutDataTypeMode "Same as first input"
OutDataType "sfix(16)"
OutScaling "2^0"
LockScale off
RndMeth "Floor"
SaturateOnIntegerOverflow on
}
Block {
BlockType Switch
Criteria "u2 >= Threshold"
Threshold "0"
ShowAdditionalParam off
InputSameDT on
OutDataTypeMode "Inherit via internal rule"
RndMeth "Floor"
SaturateOnIntegerOverflow on
ZeroCross on
}
Block {
BlockType Terminator
}
Block {
BlockType TriggerPort
TriggerType "rising"
ShowOutputPort off
OutputDataType "auto"
ZeroCross on
}
Block {
BlockType UnitDelay
X0 "0"
SampleTime "1"
RTWStateStorageClass "Auto"
}
}
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 "multi_target"
Location [17, 74, 1211, 821]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "rotated"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "80"
ReportName "simulink-default.rpt"
Block {
BlockType Inport
Name "Raw_Engine_Coolant_Temp_Sensor"
Position [60, 63, 90, 77]
ShowName off
FontName "Arial"
FontSize 16
FontWeight "bold"
ShowAdditionalParam on
DataType "Specify via dialog"
OutDataType "ECTSensor.datatypei"
OutScaling "ECTSensor.scalingi"
Port {
PortNumber 1
Name "ECTSensor"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Block {
BlockType Inport
Name "Raw_Manifold_Abs_Press_Sensor"
Position [55, 148, 85, 162]
ShowName off
FontName "Arial"
FontSize 16
FontWeight "bold"
Port "2"
ShowAdditionalParam on
DataType "Specify via dialog"
OutDataType "MAPSensor.datatypei"
OutScaling "MAPSensor.scalingi"
Port {
PortNumber 1
Name "MAPSensor"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Block {
BlockType Inport
Name "Raw_Throttle_Position_Sensor"
Position [60, 233, 90, 247]
ShowName off
FontName "Arial"
FontSize 16
FontWeight "bold"
Port "3"
ShowAdditionalParam on
DataType "Specify via dialog"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -