📄 msf1df.mdl
字号:
Model {
Name "msf1df"
Version 3.00
SimParamPage "Diagnostics"
SampleTimeColors off
InvariantConstants off
WideVectorLines off
ShowLineWidths off
ShowPortDataTypes off
StartTime "0.0"
StopTime "30"
SolverMode "SingleTasking"
Solver "ode45"
RelTol "1e-5"
AbsTol "1e-6"
Refine "1"
MaxStep "10"
InitialStep "auto"
FixedStep "auto"
MaxOrder 5
OutputOption "RefineOutputTimes"
OutputTimes "[]"
LoadExternalInput off
ExternalInput "[t, u]"
SaveTime off
TimeSaveName "tout"
SaveState off
StateSaveName "xout"
SaveOutput off
OutputSaveName "yout"
LoadInitialState off
InitialState "xInitial"
SaveFinalState off
FinalStateName "xFinal"
SaveFormat "Matrix"
LimitMaxRows off
MaxRows "1000"
Decimation "1"
AlgebraicLoopMsg "none"
MinStepSizeMsg "warning"
UnconnectedInputMsg "warning"
UnconnectedOutputMsg "warning"
UnconnectedLineMsg "warning"
InheritedTsInSrcMsg "warning"
IntegerOverflowMsg "warning"
UnnecessaryDatatypeConvMsg "none"
Int32ToFloatConvMsg "warning"
SignalLabelMismatchMsg "none"
ConsistencyChecking "off"
ZeroCross on
SimulationMode "normal"
BlockDataTips on
BlockParametersDataTip on
BlockAttributesDataTip off
BlockPortWidthsDataTip off
BlockDescriptionStringDataTip off
BlockMaskParametersDataTip off
ToolBar off
StatusBar off
BrowserShowLibraryLinks off
BrowserLookUnderMasks off
OptimizeBlockIOStorage on
BufferReuse on
BooleanDataType off
RTWSystemTargetFile "grt.tlc"
RTWInlineParameters off
RTWRetainRTWFile off
RTWTemplateMakefile "grt_default_tmf"
RTWMakeCommand "make_rtw"
RTWGenerateCodeOnly off
ExtModeMexFile "ext_comm"
ExtModeBatchMode off
ExtModeTrigType "manual"
ExtModeTrigMode "oneshot"
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 off
Created "Sat Aug 19 11:57:18 2000"
UpdateHistory "UpdateHistoryNever"
ModifiedByFormat "%<Auto>"
LastModifiedBy "tom1"
ModifiedDateFormat "%<Auto>"
LastModifiedDate "Mon Dec 30 21:12:08 2002"
ModelVersionFormat "1.%<AutoIncrement:23>"
ConfigurationManager "none"
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 "msf1df"
Location [34, 54, 948, 471]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
ReportName "simulink-default.rpt"
Block {
BlockType Reference
Name "1_input_state"
Ports [1, 1, 0, 0, 0]
Position [305, 169, 345, 201]
SourceBlock "MIMO_lib/1_input_state"
SourceType "SISO_MSF"
Ds "[denMs(1) Md(2:9)]"
}
Block {
BlockType Gain
Name "Gain1"
Position [120, 87, 145, 113]
Gain "Ksp"
SaturateOnIntegerOverflow on
}
Block {
BlockType Reference
Name "K(s)"
Ports [1, 1, 0, 0, 0]
Position [355, 235, 385, 265]
Orientation "left"
SourceBlock "simulink3/Math/Matrix\nGain"
SourceType "Matrix Gain"
K "[0 K(2:9)]"
}
Block {
BlockType Reference
Name "Mdelay"
Ports [1, 1, 0, 0, 0]
Position [620, 234, 655, 266]
SourceBlock "MIMO_lib/Mdelay"
SourceType "Mdelay"
Mdelay "Mdelay"
}
Block {
BlockType Reference
Name "Mnt"
Ports [1, 1, 0, 0, 0]
Position [500, 235, 530, 265]
SourceBlock "simulink3/Math/Matrix\nGain"
SourceType "Matrix Gain"
K "[0 Mnt]"
}
Block {
BlockType Mux
Name "Mux"
Ports [3, 1, 0, 0, 0]
Position [650, 113, 680, 147]
Inputs "3"
DisplayOption "none"
}
Block {
BlockType Reference
Name "Pdelay"
Ports [1, 1, 0, 0, 0]
Position [405, 89, 440, 121]
SourceBlock "MIMO_lib/Mdelay"
SourceType "Mdelay"
Mdelay "Pdelay"
}
Block {
BlockType Saturate
Name "Saturation"
Position [225, 93, 255, 117]
UpperLimit "Satub"
LowerLimit "Satlb"
}
Block {
BlockType Scope
Name "Scope"
Ports [1, 0, 0, 0, 0]
Position [635, 40, 665, 70]
Floating off
Location [309, 365, 633, 604]
Open off
NumInputPorts "1"
TickLabels "on"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
Grid "on"
TimeRange "auto"
YMin "-5"
YMax "5"
SaveToWorkspace off
SaveName "ScopeData"
DataFormat "Matrix"
LimitMaxRows on
MaxRows "5000"
Decimation "1"
SampleInput off
SampleTime "0"
}
Block {
BlockType Step
Name "Step Input"
Position [180, 35, 200, 55]
Orientation "left"
Time "0"
Before "0"
After "Setpoint"
SampleTime "0"
}
Block {
BlockType Step
Name "Step Input1"
Position [295, 20, 315, 40]
Time "0"
Before "0"
After "Disturb"
SampleTime "0"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1, 0, 0, 0]
Position [75, 90, 95, 110]
IconShape "rectangular"
Inputs "+-"
SaturateOnIntegerOverflow on
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1, 0, 0, 0]
Position [815, 235, 835, 255]
IconShape "rectangular"
Inputs "+-"
SaturateOnIntegerOverflow on
}
Block {
BlockType Sum
Name "Sum2"
Ports [2, 1, 0, 0, 0]
Position [170, 95, 190, 115]
IconShape "rectangular"
Inputs "+-"
SaturateOnIntegerOverflow on
}
Block {
BlockType Sum
Name "Sum6"
Ports [2, 1, 0, 0, 0]
Position [485, 90, 505, 110]
IconShape "rectangular"
Inputs "++"
SaturateOnIntegerOverflow on
}
Block {
BlockType ToWorkspace
Name "To Workspace"
Position [715, 115, 775, 145]
VariableName "simout"
Buffer "inf"
Decimation "1"
SampleTime "0"
SaveFormat "Matrix"
}
Block {
BlockType TransferFcn
Name "Transfer Fcn"
Position [315, 86, 375, 124]
Numerator "numPs"
Denominator "denPs"
}
Block {
BlockType TransferFcn
Name "Transfer Fcn3"
Position [370, 12, 435, 48]
Numerator "numPd"
Denominator "denPd"
}
Block {
BlockType TransferFcn
Name "Transfer Fcn4"
Position [85, 25, 145, 65]
Orientation "left"
Numerator "denFs"
Denominator "numFs"
}
Line {
SrcBlock "Step Input1"
SrcPort 1
DstBlock "Transfer Fcn3"
DstPort 1
}
Line {
SrcBlock "Transfer Fcn3"
SrcPort 1
Points [25, 0; 0, 65]
DstBlock "Sum6"
DstPort 1
}
Line {
SrcBlock "Pdelay"
SrcPort 1
DstBlock "Sum6"
DstPort 2
}
Line {
SrcBlock "Sum2"
SrcPort 1
Points [0, 0]
Branch {
Points [0, 55; 440, 0]
DstBlock "Mux"
DstPort 3
}
Branch {
DstBlock "Saturation"
DstPort 1
}
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "To Workspace"
DstPort 1
}
Line {
SrcBlock "Transfer Fcn"
SrcPort 1
DstBlock "Pdelay"
DstPort 1
}
Line {
SrcBlock "Gain1"
SrcPort 1
DstBlock "Sum2"
DstPort 1
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Gain1"
DstPort 1
}
Line {
SrcBlock "Sum6"
SrcPort 1
Points [60, 0]
Branch {
Points [0, 20]
DstBlock "Mux"
DstPort 1
}
Branch {
Points [230, 0]
DstBlock "Sum1"
DstPort 1
}
Branch {
DstBlock "Scope"
DstPort 1
}
}
Line {
SrcBlock "Mnt"
SrcPort 1
DstBlock "Mdelay"
DstPort 1
}
Line {
SrcBlock "Mdelay"
SrcPort 1
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "Saturation"
SrcPort 1
Points [5, 0]
Branch {
Points [20, 0]
Branch {
DstBlock "Transfer Fcn"
DstPort 1
}
Branch {
Points [0, 45; 340, 0; 0, -20]
DstBlock "Mux"
DstPort 2
}
}
Branch {
Points [0, 80]
DstBlock "1_input_state"
DstPort 1
}
}
Line {
SrcBlock "Sum1"
SrcPort 1
Points [0, 60; -780, 0]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "K(s)"
SrcPort 1
Points [-195, 0]
DstBlock "Sum2"
DstPort 2
}
Line {
SrcBlock "Step Input"
SrcPort 1
DstBlock "Transfer Fcn4"
DstPort 1
}
Line {
SrcBlock "Transfer Fcn4"
SrcPort 1
Points [-25, 0; 0, 50]
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "1_input_state"
SrcPort 1
Points [85, 0; 0, 65]
Branch {
DstBlock "K(s)"
DstPort 1
}
Branch {
DstBlock "Mnt"
DstPort 1
}
}
Annotation {
Position [277, 132]
VerticalAlignment "top"
Text "Md\n"
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -