?? ex38s1.mdl
字號:
Model {
Name "ex38s1"
Version 4.00
SampleTimeColors off
LibraryLinkDisplay "none"
WideLines off
ShowLineDimensions off
ShowPortDataTypes off
ShowStorageClass off
ExecutionOrder off
RecordCoverage off
CovPath "/"
CovSaveName "covdata"
CovMetricSettings "dw"
CovNameIncrementing off
CovHtmlReporting on
BlockNameDataTip off
BlockParametersDataTip off
BlockDescriptionStringDataTip off
ToolBar on
StatusBar on
BrowserShowLibraryLinks off
BrowserLookUnderMasks off
Created "Thu Jun 07 13:23:42 2001"
UpdateHistory "UpdateHistoryNever"
ModifiedByFormat "%<Auto>"
ModifiedDateFormat "%<Auto>"
LastModifiedDate "Fri Aug 31 17:16:39 2001"
ModelVersionFormat "1.%<AutoIncrement:59>"
ConfigurationManager "none"
SimParamPage "Solver"
StartTime "0.0"
StopTime "140"
SolverMode "SingleTasking"
Solver "ode4"
RelTol "1e-3"
AbsTol "auto"
Refine "1"
MaxStep "auto"
MinStep "auto"
MaxNumMinSteps "-1"
InitialStep "auto"
FixedStep "0.01"
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 on
MaxDataPoints "100000"
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"
InvalidFcnCallConnMsg "error"
SignalLabelMismatchMsg "none"
LinearizationMsg "none"
VectorMatrixConversionMsg "none"
SfunCompatibilityCheckMsg "none"
BlockPriorityViolationMsg "warning"
ArrayBoundsChecking "none"
ConsistencyChecking "none"
ZeroCross on
Profile off
SimulationMode "normal"
RTWSystemTargetFile "grt.tlc"
RTWOptions "-aLocalBlockOutputs=1 -aInlineInvariantSignals=0 -a"
"InlineParameters=0"
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"
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
OptimizeBlockIOStorage on
BufferReuse on
ParameterPooling on
BlockReductionOpt off
RTWExpressionDepthLimit 5
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 "ex38s1"
Location [267, 78, 788, 523]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "automatic"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
ReportName "simulink-default.rpt"
Block {
BlockType SubSystem
Name "Abs Error Subsystem"
Ports [2, 1]
Position [45, 309, 115, 336]
ShowPortLabels on
TreatAsAtomicUnit off
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
System {
Name "Abs Error Subsystem"
Location [294, 145, 656, 396]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "automatic"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "err"
Position [25, 15, 55, 35]
Orientation "down"
NamePlacement "alternate"
Port "1"
LatchInput off
Interpolate on
}
Block {
BlockType Inport
Name "t"
Position [25, 80, 55, 100]
Orientation "down"
NamePlacement "alternate"
Port "2"
LatchInput off
Interpolate on
}
Block {
BlockType Abs
Name "Abs"
Position [55, 45, 85, 75]
SaturateOnIntegerOverflow on
}
Block {
BlockType Constant
Name "Constant"
Position [15, 125, 45, 155]
Value "100"
VectorParams1D on
}
Block {
BlockType Constant
Name "Constant1"
Position [15, 185, 45, 215]
Value "120"
VectorParams1D on
}
Block {
BlockType Gain
Name "Gain"
Position [110, 45, 135, 75]
Gain "10"
Multiplication "Element-wise(K.*u)"
SaturateOnIntegerOverflow on
}
Block {
BlockType Logic
Name "Logical\nOperator"
Ports [2, 1]
Position [170, 147, 200, 178]
Operator "AND"
Inputs "2"
}
Block {
BlockType Product
Name "Product"
Ports [3, 1]
Position [170, 42, 190, 78]
Inputs "3"
Multiplication "Element-wise(.*)"
SaturateOnIntegerOverflow on
}
Block {
BlockType RelationalOperator
Name "Relational\nOperator"
Position [105, 112, 135, 143]
Operator ">="
}
Block {
BlockType RelationalOperator
Name "Relational\nOperator1"
Position [105, 177, 135, 208]
Operator "<="
}
Block {
BlockType Sum
Name "Sum2"
Ports [2, 1]
Position [245, 52, 265, 83]
IconShape "rectangular"
Inputs "++"
SaturateOnIntegerOverflow on
}
Block {
BlockType UnitDelay
Name "Unit Delay\nTs=0.1"
Position [240, 100, 275, 140]
Orientation "left"
X0 "0"
SampleTime "0.01"
RTWStateStorageClass "Auto"
}
Block {
BlockType Outport
Name "Out1"
Position [310, 88, 340, 102]
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "Logical\nOperator"
SrcPort 1
Points [0, -70; -55, 0; 0, -25]
DstBlock "Product"
DstPort 3
}
Line {
SrcBlock "Relational\nOperator1"
SrcPort 1
Points [15, 0]
DstBlock "Logical\nOperator"
DstPort 2
}
Line {
SrcBlock "Relational\nOperator"
SrcPort 1
Points [15, 0]
DstBlock "Logical\nOperator"
DstPort 1
}
Line {
SrcBlock "Constant1"
SrcPort 1
DstBlock "Relational\nOperator1"
DstPort 2
}
Line {
SrcBlock "Constant"
SrcPort 1
Points [40, 0]
DstBlock "Relational\nOperator"
DstPort 2
}
Line {
SrcBlock "t"
SrcPort 1
Points [0, 15; 45, 0]
Branch {
Points [0, 65]
DstBlock "Relational\nOperator1"
DstPort 1
}
Branch {
DstBlock "Relational\nOperator"
DstPort 1
}
}
Line {
SrcBlock "Gain"
SrcPort 1
Points [15, 0]
Branch {
DstBlock "Product"
DstPort 2
}
Branch {
DstBlock "Product"
DstPort 1
}
}
Line {
SrcBlock "Abs"
SrcPort 1
DstBlock "Gain"
DstPort 1
}
Line {
SrcBlock "Sum2"
SrcPort 1
Points [20, 0; 0, 25]
Branch {
DstBlock "Unit Delay\nTs=0.1"
DstPort 1
}
Branch {
DstBlock "Out1"
DstPort 1
}
}
Line {
SrcBlock "Unit Delay\nTs=0.1"
SrcPort 1
Points [-5, 0]
DstBlock "Sum2"
DstPort 2
}
Line {
SrcBlock "Product"
SrcPort 1
DstBlock "Sum2"
DstPort 1
}
Line {
SrcBlock "err"
SrcPort 1
DstBlock "Abs"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Abs Error Subsystem1"
Ports [2, 1]
Position [45, 269, 115, 296]
ShowPortLabels on
TreatAsAtomicUnit off
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
System {
Name "Abs Error Subsystem1"
Location [294, 145, 656, 396]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "automatic"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "err"
Position [25, 15, 55, 35]
Orientation "down"
NamePlacement "alternate"
Port "1"
LatchInput off
Interpolate on
}
Block {
BlockType Inport
Name "t"
Position [25, 80, 55, 100]
Orientation "down"
NamePlacement "alternate"
Port "2"
LatchInput off
Interpolate on
}
Block {
BlockType Abs
Name "Abs"
Position [55, 45, 85, 75]
SaturateOnIntegerOverflow on
}
Block {
BlockType Constant
Name "Constant"
Position [15, 125, 45, 155]
Value "70"
VectorParams1D on
}
Block {
BlockType Constant
Name "Constant1"
Position [15, 185, 45, 215]
Value "90"
VectorParams1D on
}
Block {
BlockType Gain
Name "Gain"
Position [110, 45, 135, 75]
Gain "10"
Multiplication "Element-wise(K.*u)"
SaturateOnIntegerOverflow on
}
Block {
BlockType Logic
Name "Logical\nOperator"
Ports [2, 1]
Position [170, 147, 200, 178]
Operator "AND"
Inputs "2"
}
Block {
BlockType Product
Name "Product"
Ports [3, 1]
Position [170, 42, 190, 78]
Inputs "3"
Multiplication "Element-wise(.*)"
SaturateOnIntegerOverflow on
}
Block {
BlockType RelationalOperator
Name "Relational\nOperator"
Position [105, 112, 135, 143]
Operator ">="
}
Block {
BlockType RelationalOperator
Name "Relational\nOperator1"
Position [105, 177, 135, 208]
Operator "<="
}
Block {
BlockType Sum
Name "Sum2"
Ports [2, 1]
Position [245, 52, 265, 83]
IconShape "rectangular"
Inputs "++"
SaturateOnIntegerOverflow on
}
Block {
BlockType UnitDelay
Name "Unit Delay\nTs=0.1"
Position [240, 100, 275, 140]
Orientation "left"
X0 "0"
SampleTime "0.01"
RTWStateStorageClass "Auto"
}
Block {
BlockType Outport
Name "Out1"
Position [310, 88, 340, 102]
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "err"
SrcPort 1
DstBlock "Abs"
DstPort 1
}
Line {
SrcBlock "Product"
SrcPort 1
DstBlock "Sum2"
DstPort 1
}
Line {
SrcBlock "Unit Delay\nTs=0.1"
SrcPort 1
Points [-5, 0]
DstBlock "Sum2"
DstPort 2
}
Line {
SrcBlock "Sum2"
SrcPort 1
Points [20, 0; 0, 25]
Branch {
DstBlock "Out1"
DstPort 1
}
Branch {
DstBlock "Unit Delay\nTs=0.1"
DstPort 1
}
}
Line {
SrcBlock "Abs"
SrcPort 1
DstBlock "Gain"
DstPort 1
}
Line {
SrcBlock "Gain"
SrcPort 1
Points [15, 0]
Branch {
DstBlock "Product"
DstPort 1
}
Branch {
DstBlock "Product"
DstPort 2
}
}
Line {
SrcBlock "t"
SrcPort 1
Points [0, 15; 45, 0]
Branch {
DstBlock "Relational\nOperator"
DstPort 1
}
Branch {
Points [0, 65]
DstBlock "Relational\nOperator1"
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -