📄 c5mmulr.mdl
字号:
Model {
Name "c5mmulr"
Version 5.1
SaveDefaultBlockParams on
SampleTimeColors off
LibraryLinkDisplay "none"
WideLines off
ShowLineDimensions off
ShowPortDataTypes off
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 "Sun Jul 15 07:07:07 2001"
UpdateHistory "UpdateHistoryNever"
ModifiedByFormat "%<Auto>"
LastModifiedBy "Prof Xue Dingyu"
ModifiedDateFormat "%<Auto>"
LastModifiedDate "Fri Sep 30 08:42:17 2005"
ModelVersionFormat "1.%<AutoIncrement:33>"
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 "2"
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 off
BooleanDataType off
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 DiscreteTransferFcn
Numerator "[1]"
Denominator "[1 0.5]"
Realization "auto"
RTWStateStorageClass "Auto"
}
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 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 Step
Time "1"
Before "0"
After "1"
VectorParams1D on
ZeroCross on
}
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 TransferFcn
Numerator "[1]"
Denominator "[1 2 1]"
AbsoluteTolerance "auto"
Realization "auto"
}
Block {
BlockType ZeroOrderHold
}
}
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 "c5mmulr"
Location [28, 161, 977, 743]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "portrait"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
ReportName "simulink-default.rpt"
Block {
BlockType DiscreteTransferFcn
Name "Discrete\nTransfer Fcn"
Position [255, 125, 340, 165]
ShowName off
FontName "Times New Roman"
FontSize 12
Numerator "[5.2812 -5.2725]"
Denominator "[1 -1]"
SampleTime ".01"
}
Block {
BlockType DiscreteTransferFcn
Name "Discrete\nTransfer Fcn1"
Position [450, 124, 530, 166]
ShowName off
FontName "Times New Roman"
FontSize 12
Numerator "[0.0967 -0.0965]"
Denominator "[1 -1]"
SampleTime ".001"
}
Block {
BlockType Gain
Name "Gain"
Position [615, 79, 675, 111]
Orientation "left"
ShowName off
FontName "Times New Roman"
FontSize 12
Gain "0.212"
}
Block {
BlockType Scope
Name "Scope"
Ports [1]
Position [730, 129, 760, 161]
FontName "Times New Roman"
FontSize 12
Location [23, 134, 591, 398]
Open off
NumInputPorts "1"
ZoomMode "yonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
TimeRange "2"
YMin "0"
YMax "2"
SaveToWorkspace on
SaveName "yy"
DataFormat "Array"
}
Block {
BlockType Step
Name "Step"
Position [110, 130, 140, 160]
FontName "Times New Roman"
FontSize 12
Time "0"
SampleTime "0"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [550, 135, 570, 155]
ShowName off
FontName "Times New Roman"
FontSize 12
IconShape "round"
Inputs "-+|"
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [360, 135, 380, 155]
ShowName off
FontName "Times New Roman"
FontSize 12
IconShape "round"
Inputs "|+-"
}
Block {
BlockType Sum
Name "Sum2"
Ports [2, 1]
Position [160, 135, 180, 155]
ShowName off
FontName "Times New Roman"
FontSize 12
IconShape "round"
Inputs "|+-"
}
Block {
BlockType TransferFcn
Name "Transfer Fcn"
Position [670, 127, 700, 163]
ShowName off
FontName "Times New Roman"
FontSize 12
Numerator "[130]"
Denominator "[1 0]"
}
Block {
BlockType TransferFcn
Name "Transfer Fcn1"
Position [585, 125, 640, 165]
ShowName off
FontName "Times New Roman"
FontSize 12
Numerator "[0.21]"
Denominator "[0.15 1]"
}
Block {
BlockType ZeroOrderHold
Name "Zero-Order\nHold"
Position [200, 126, 235, 164]
FontName "Times New Roman"
FontSize 12
SampleTime "0.01"
}
Block {
BlockType ZeroOrderHold
Name "Zero-Order\nHold1"
Position [395, 126, 430, 164]
FontName "Times New Roman"
FontSize 12
SampleTime "0.001"
}
Block {
BlockType Outport
Name "Out1"
Position [730, 198, 760, 212]
FontName "Times New Roman"
FontSize 12
}
Line {
SrcBlock "Transfer Fcn"
SrcPort 1
Points [0, 0; 5, 0]
Branch {
Points [0, -50]
DstBlock "Gain"
DstPort 1
}
Branch {
DstBlock "Scope"
DstPort 1
}
Branch {
Points [0, 60]
Branch {
Points [0, 20; -540, 0]
DstBlock "Sum2"
DstPort 2
}
Branch {
DstBlock "Out1"
DstPort 1
}
}
}
Line {
SrcBlock "Transfer Fcn1"
SrcPort 1
Points [5, 0]
Branch {
DstBlock "Transfer Fcn"
DstPort 1
}
Branch {
Points [0, 65; -280, 0]
DstBlock "Sum1"
DstPort 2
}
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Transfer Fcn1"
DstPort 1
}
Line {
SrcBlock "Gain"
SrcPort 1
Points [-50, 0]
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Discrete\nTransfer Fcn1"
SrcPort 1
DstBlock "Sum"
DstPort 2
}
Line {
Labels [0, 0]
SrcBlock "Step"
SrcPort 1
DstBlock "Sum2"
DstPort 1
}
Line {
SrcBlock "Discrete\nTransfer Fcn"
SrcPort 1
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "Sum2"
SrcPort 1
DstBlock "Zero-Order\nHold"
DstPort 1
}
Line {
SrcBlock "Zero-Order\nHold"
SrcPort 1
DstBlock "Discrete\nTransfer Fcn"
DstPort 1
}
Line {
SrcBlock "Zero-Order\nHold1"
SrcPort 1
DstBlock "Discrete\nTransfer Fcn1"
DstPort 1
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "Zero-Order\nHold1"
DstPort 1
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -