📄 usrcom_dwnld.mdl
字号:
Model {
Name "USRCom_dwnld"
Version 5.1
SaveDefaultBlockParams on
SampleTimeColors off
LibraryLinkDisplay "none"
WideLines on
ShowLineDimensions on
ShowPortDataTypes on
ShowLoopsOnError on
IgnoreBidirectionalLines off
ShowStorageClass off
SortedOrder 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 Aug 05 18:10:28 2002"
UpdateHistory "UpdateHistoryNever"
ModifiedByFormat "%<Auto>"
LastModifiedBy "fwornle"
ModifiedDateFormat "%<Auto>"
LastModifiedDate "Sun Aug 28 11:48:49 2005"
ModelVersionFormat "1.%<AutoIncrement:185>"
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_mc9S12"
ExtModeMexArgs "2, 0, 115200"
ExtModeBatchMode off
ExtModeTrigType "manual"
ExtModeTrigMode "normal"
ExtModeTrigPort "1"
ExtModeTrigElement "any"
ExtModeTrigDuration 500
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 "external"
Solver "ode5"
SolverMode "SingleTasking"
StartTime "0.0"
StopTime "999999999"
MaxOrder 5
MaxStep "auto"
MinStep "auto"
MaxNumMinSteps "-1"
InitialStep "auto"
FixedStep ".02"
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 off
ConditionallyExecuteInputs on
ParameterPooling on
OptimizeBlockIOStorage on
ZeroCross on
AssertionControl "UseLocalSettings"
ProdHWDeviceType "Microprocessor"
ProdHWWordLengths "8,16,32,32"
RTWSystemTargetFile "mc9S12.tlc"
RTWTemplateMakefile "mc9S12.tmf"
RTWMakeCommand "make_mc9S12"
RTWGenerateCodeOnly off
RTWRetainRTWFile off
TLCProfiler off
TLCDebug off
TLCCoverage off
TLCAssertion off
RTWOptions " -aCycTI_pin=5 -aDebug2SCI0=0 -aEnforceIntegerDownc"
"ast=1 -aExtMode=1 -aExtModeTesting=0 -aFoldNonRolledExpr=1 -aForceParamTrailC"
"omments=0 -aGenerateComments=1 -aGenerateReport=0 -aIgnoreCustomStorageClasse"
"s=0 -aIncDataTypeInIds=0 -aIncHierarchyInIds=0 -aInlineInvariantSignals=0 -aI"
"nlineParameters=0 -aInlinedPrmAccess=\"Literals\" -aLCDdispErrors=1 -aLocalBl"
"ockOutputs=1 -aLogVarNameModifier=\"rt_\" -aMATLAB_comms_port=\"SCI1\" -aMaxR"
"TWIdLen=31 -aMem_Map=\"Flash_flat\" -aNumFreePortSCI0=0 -aNumFreePortSCI1=0 -"
"aPrefixModelToSubsysFcnNames=1 -aPurelyIntegerCode=0 -aRTWVerbose=1 -aRollThr"
"eshold=5 -aSCI0=\"idle\" -aSCI1=\"MCOM\" -aSerTI_pin=6 -aShowEliminatedStatem"
"ents=1 -aStaticLibraryRebuild=0 -aTarget_board=\"Dragon-12\" -aTiming_signals"
"=0 -abaudrate=115200 -aport=\"COM2\" -atimeport=\"PORTB\""
BlockDefaults {
Orientation "right"
ForegroundColor "black"
BackgroundColor "white"
DropShadow off
NamePlacement "normal"
FontName "Helvetica"
FontSize 10
FontWeight "normal"
FontAngle "normal"
ShowName on
}
BlockParameterDefaults {
Block {
BlockType DataTypeConversion
DataType "auto"
SaturateOnIntegerOverflow on
}
Block {
BlockType Display
Format "short"
Decimation "10"
Floating off
}
Block {
BlockType Outport
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Block {
BlockType Scope
Floating off
ModelBased off
TickLabels "OneTimeTick"
ZoomMode "on"
Grid "on"
TimeRange "auto"
YMin "-5"
YMax "5"
SaveToWorkspace off
SaveName "ScopeData"
LimitDataPoints on
MaxDataPoints "5000"
Decimation "1"
SampleInput off
}
Block {
BlockType "S-Function"
FunctionName "system"
PortCounts "[]"
SFunctionModules "''"
}
Block {
BlockType Sin
SineType "Time based"
Amplitude "1"
Bias "0"
Frequency "1"
Phase "0"
Samples "10"
Offset "0"
VectorParams1D on
}
Block {
BlockType SubSystem
ShowPortLabels on
Permissions "ReadWrite"
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
SimViewingDevice off
DataTypeOverride "UseLocalSettings"
MinMaxOverflowLogging "UseLocalSettings"
}
}
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 "USRCom_dwnld"
Location [484, 170, 961, 517]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
ReportName "simulink-default.rpt"
Block {
BlockType Display
Name "Display"
Ports [1]
Position [345, 15, 425, 115]
Decimation "1"
}
Block {
BlockType Display
Name "Display1"
Ports [1]
Position [345, 135, 425, 275]
Decimation "1"
}
Block {
BlockType SubSystem
Name "Receive user data"
Ports [0, 1]
Position [90, 29, 250, 101]
AncestorBlock "mc9S12tool/Receive user data"
FontSize 12
ShowPortLabels off
TreatAsAtomicUnit off
MaskHelp "helpview('C:\\Documents and Settings\\fwornle\\"
"My Documents\\frank\\_cProgs\\Motorola\\rtmc9S12_CW_R13\\bin\\mc9S12.map', 'm"
"c9S12_URXD_In_blkref')"
MaskPromptString "Sample time|Channel number|Number of elements|D"
"ata Type"
MaskStyleString "edit,edit,edit,popup(SINGLE|INT8|UINT8|INT16|UI"
"NT16|INT32|UINT32|BOOLEAN)"
MaskTunableValueString "on,on,on,on"
MaskCallbackString "|||"
MaskEnableString "on,on,on,on"
MaskVisibilityString "on,on,on,on"
MaskToolTipString "on,on,on,on"
MaskVarAliasString ",,,"
MaskVariables "sampletime=@1;channel=@2;buf_size=@3;data_type="
"@4;"
MaskInitialization "[buf_sizestr, channelstr, data_type_str, sample"
"time_str] = mbc_usertelrxd(sampletime, channel, buf_size, data_type);"
MaskDisplay "fprintf('Receive %s element(s) from\\nuser data"
" channel %s\\nData type: %s\\n Sample rate: %s', buf_sizestr, channelstr, dat"
"a_type_str, sampletime_str)"
MaskSelfModifiable on
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "0.1|0|5|SINGLE"
System {
Name "Receive user data"
Location [230, 284, 684, 449]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType DataTypeConversion
Name "Data Type Conversion"
Position [235, 51, 290, 79]
DataType "double"
}
Block {
BlockType "S-Function"
Name "RECEIVE_USR_DATA"
Ports [0, 1]
Position [35, 45, 140, 85]
FontSize 12
FunctionName "s0_userTel_rxd"
Parameters "sampletime, channel, buf_size, data_type"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
}
Block {
BlockType Outport
Name "Out"
Position [395, 54, 415, 76]
}
Line {
SrcBlock "RECEIVE_USR_DATA"
SrcPort 1
DstBlock "Data Type Conversion"
DstPort 1
}
Line {
SrcBlock "Data Type Conversion"
SrcPort 1
DstBlock "Out"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Receive user data1"
Ports [0, 1]
Position [90, 169, 250, 241]
AncestorBlock "mc9S12tool/Receive user data"
FontSize 12
ShowPortLabels off
TreatAsAtomicUnit off
MaskHelp "helpview('C:\\Documents and Settings\\fwornle\\"
"My Documents\\frank\\_cProgs\\Motorola\\rtmc9S12_CW_R13\\bin\\mc9S12.map', 'm"
"c9S12_URXD_In_blkref')"
MaskPromptString "Sample time|Channel number|Number of elements|D"
"ata Type"
MaskStyleString "edit,edit,edit,popup(SINGLE|INT8|UINT8|INT16|UI"
"NT16|INT32|UINT32|BOOLEAN)"
MaskTunableValueString "on,on,on,on"
MaskCallbackString "|||"
MaskEnableString "on,on,on,on"
MaskVisibilityString "on,on,on,on"
MaskToolTipString "on,on,on,on"
MaskVarAliasString ",,,"
MaskVariables "sampletime=@1;channel=@2;buf_size=@3;data_type="
"@4;"
MaskInitialization "[buf_sizestr, channelstr, data_type_str, sample"
"time_str] = mbc_usertelrxd(sampletime, channel, buf_size, data_type);"
MaskDisplay "fprintf('Receive %s element(s) from\\nuser data"
" channel %s\\nData type: %s\\n Sample rate: %s', buf_sizestr, channelstr, dat"
"a_type_str, sampletime_str)"
MaskSelfModifiable on
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "0.1|1|7|UINT8"
System {
Name "Receive user data1"
Location [230, 284, 684, 449]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType DataTypeConversion
Name "Data Type Conversion"
Position [235, 51, 290, 79]
DataType "double"
}
Block {
BlockType "S-Function"
Name "RECEIVE_USR_DATA"
Ports [0, 1]
Position [35, 45, 140, 85]
FontSize 12
FunctionName "s0_userTel_rxd"
Parameters "sampletime, channel, buf_size, data_type"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
}
Block {
BlockType Outport
Name "Out"
Position [395, 54, 415, 76]
}
Line {
SrcBlock "RECEIVE_USR_DATA"
SrcPort 1
DstBlock "Data Type Conversion"
DstPort 1
}
Line {
SrcBlock "Data Type Conversion"
SrcPort 1
DstBlock "Out"
DstPort 1
}
}
}
Block {
BlockType Scope
Name "Scope"
Ports [1]
Position [300, 289, 330, 321]
Location [77, 157, 401, 396]
Open on
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
TimeRange "10"
DataFormat "StructureWithTime"
}
Block {
BlockType Sin
Name "Sine Wave"
Position [195, 290, 225, 320]
SineType "Time based"
Frequency "10"
SampleTime "0"
}
Line {
SrcBlock "Sine Wave"
SrcPort 1
DstBlock "Scope"
DstPort 1
}
Line {
SrcBlock "Receive user data"
SrcPort 1
DstBlock "Display"
DstPort 1
}
Line {
SrcBlock "Receive user data1"
SrcPort 1
DstBlock "Display1"
DstPort 1
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -