📄 oloop2.mdl
字号:
Model {
Name "oloop2"
Version 3.00
SimParamPage "Solver"
SampleTimeColors off
InvariantConstants off
WideVectorLines off
ShowLineWidths off
ShowPortDataTypes off
StartTime "0.0"
StopTime "60"
SolverMode "SingleTasking"
Solver "ode45"
RelTol "1e-7"
AbsTol "1e-7"
Refine "1"
MaxStep "1"
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 "warning"
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_vc.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 "Tue Mar 18 15:30:07 2003"
UpdateHistory "UpdateHistoryNever"
ModifiedByFormat "%<Auto>"
LastModifiedBy "Dutchroll"
ModifiedDateFormat "%<Auto>"
LastModifiedDate "Wed May 14 23:05:15 2003"
ModelVersionFormat "1.%<AutoIncrement:8>"
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 "oloop2"
Location [23, 63, 472, 464]
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 "Beaver dynamics"
Ports [3, 16, 0, 0, 0]
Position [170, 191, 240, 359]
BackgroundColor "lightBlue"
FontName "Arial"
FontSize 11
SourceBlock "fdclib10/Beaver dynamics\n for open-loop models"
SourceType "SubSystem"
}
Block {
BlockType Reference
Name "Dryden filters\nfor atmospheric\nturbulence"
Ports [0, 1, 0, 0, 0]
Position [50, 310, 110, 350]
FontName "Arial"
FontSize 11
SourceBlock "wndlib2/turb1"
SourceType ""
}
Block {
BlockType SubSystem
Name "Graph\nscope"
Ports [1, 0, 0, 0, 0]
Position [340, 257, 370, 293]
BackgroundColor "darkGreen"
DropShadow on
FontName "Arial"
FontSize 11
ShowPortLabels off
MaskType "Storage scope."
MaskDescription "Storage scope using MATLAB graph window.\nEnter"
" plotting ranges and line type."
MaskHelp "Uses MATLAB's graph window.\\nUse only one bloc"
"k per system.\\nLine type must be in quotes.\\nSee the M-file sfunyst.m."
MaskPromptString "Initial Time Range:|Initial y-min:|Initial y-ma"
"x:|Storage pts.:|Line type (rgbw-.:xo):"
MaskStyleString "edit,edit,edit,edit,edit"
MaskTunableValueString "on,on,on,on,on"
MaskCallbackString "||||"
MaskEnableString "on,on,on,on,on"
MaskVisibilityString "on,on,on,on,on"
MaskVariables "npts=@4;color=@5;"
MaskInitialization "close all; ax = [0, @1, @2, @3];"
MaskDisplay "plot(0,0,100,100,[83,76,63,52,42,38,28,16,11,84"
",11,11,11,90,90,11],[75,58,47,54,72,80,84,74,65,65,65,90,40,40,90,90])"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "10|-10|10|100|'g-'"
System {
Name "Graph\nscope"
Location [0, 0, 274, 193]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
Block {
BlockType Inport
Name "x"
Position [65, 55, 85, 75]
Port "1"
PortWidth "-1"
SampleTime "-1"
DataType "auto"
SignalType "auto"
Interpolate on
}
Block {
BlockType "S-Function"
Name "S-function\nM-file which plots\nlines\n"
Ports [1, 0, 0, 0, 0]
Position [130, 55, 180, 75]
CopyFcn "sfunyst([],[],[],'CopyBlock')"
DeleteFcn "sfunyst([],[],[],'DeleteBlock')"
LoadFcn "sfunyst([],[],[],'LoadBlock')"
FunctionName "sfunyst"
Parameters "ax, color, npts"
PortCounts "[]"
SFunctionModules "''"
}
Line {
SrcBlock "x"
SrcPort 1
DstBlock "S-function\nM-file which plots\nlines\n"
DstPort 1
}
}
}
Block {
BlockType Constant
Name "Initial inputs\nfor aeromod"
Position [55, 199, 105, 221]
FontName "Arial"
FontSize 11
Value "uaero0"
}
Block {
BlockType Constant
Name "Initial inputs\nfor engmod"
Position [55, 255, 105, 275]
FontName "Arial"
FontSize 11
Value "uprop0"
}
Block {
BlockType Mux
Name "Mux"
Ports [16, 1, 0, 0, 0]
Position [260, 192, 265, 358]
ShowName off
Inputs "16"
DisplayOption "bar"
}
Block {
BlockType Selector
Name "Selector"
Position [285, 217, 315, 333]
BackgroundColor "yellow"
DropShadow on
ShowName off
FontName "Arial"
FontSize 11
Elements "8"
InputPortWidth "16"
}
Block {
BlockType Reference
Name "actrim"
Ports [0, 0, 0, 0, 0]
Position [126, 106, 207, 151]
BackgroundColor "cyan"
DropShadow on
ShowName off
FontName "Arial"
FontSize 11
SourceBlock "fbuttons/actrim"
SourceType "actrim"
}
Block {
BlockType Reference
Name "datload"
Ports [0, 0, 0, 0, 0]
Position [126, 31, 207, 76]
BackgroundColor "cyan"
DropShadow on
ShowName off
FontName "Arial"
FontSize 11
SourceBlock "fbuttons/datload"
SourceType "datload"
}
Block {
BlockType Reference
Name "fixstate"
Ports [0, 0, 0, 0, 0]
Position [216, 106, 297, 151]
BackgroundColor "cyan"
DropShadow on
ShowName off
FontName "Arial"
FontSize 11
SourceBlock "fbuttons/fixstate"
SourceType "fixstate"
}
Block {
BlockType Reference
Name "results"
Ports [0, 0, 0, 0, 0]
Position [326, 31, 407, 76]
BackgroundColor "cyan"
DropShadow on
ShowName off
FontName "Arial"
FontSize 11
SourceBlock "fbuttons/results"
SourceType "results"
}
Block {
BlockType SubSystem
Name "t"
Ports [0, 0, 0, 0, 0]
Position [15, 15, 95, 61]
ForegroundColor "blue"
DropShadow on
ShowName off
OpenFcn "browse oloop"
FontName "Arial"
FontSize 11
ShowPortLabels off
MaskDisplay "disp('OLOOP2\\nMarc Rauw\\nMay 2003')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "t"
Location [0, 0, 264, 222]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
}
}
Block {
BlockType Reference
Name "triload"
Ports [0, 0, 0, 0, 0]
Position [216, 31, 297, 76]
BackgroundColor "cyan"
DropShadow on
ShowName off
FontName "Arial"
FontSize 11
SourceBlock "fbuttons/triload"
SourceType "triload"
}
Line {
SrcBlock "Dryden filters\nfor atmospheric\nturbulence"
SrcPort 1
DstBlock "Beaver dynamics"
DstPort 3
}
Line {
SrcBlock "Initial inputs\nfor engmod"
SrcPort 1
Points [35, 0; 0, 10]
DstBlock "Beaver dynamics"
DstPort 2
}
Line {
SrcBlock "Initial inputs\nfor aeromod"
SrcPort 1
Points [35, 0; 0, 10]
DstBlock "Beaver dynamics"
DstPort 1
}
Line {
SrcBlock "Selector"
SrcPort 1
DstBlock "Graph\nscope"
DstPort 1
}
Line {
SrcBlock "Beaver dynamics"
SrcPort 1
DstBlock "Mux"
DstPort 1
}
Line {
SrcBlock "Beaver dynamics"
SrcPort 2
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "Beaver dynamics"
SrcPort 3
DstBlock "Mux"
DstPort 3
}
Line {
SrcBlock "Beaver dynamics"
SrcPort 4
DstBlock "Mux"
DstPort 4
}
Line {
SrcBlock "Beaver dynamics"
SrcPort 5
DstBlock "Mux"
DstPort 5
}
Line {
SrcBlock "Beaver dynamics"
SrcPort 6
DstBlock "Mux"
DstPort 6
}
Line {
SrcBlock "Beaver dynamics"
SrcPort 7
DstBlock "Mux"
DstPort 7
}
Line {
SrcBlock "Beaver dynamics"
SrcPort 8
DstBlock "Mux"
DstPort 8
}
Line {
SrcBlock "Beaver dynamics"
SrcPort 9
DstBlock "Mux"
DstPort 9
}
Line {
SrcBlock "Beaver dynamics"
SrcPort 10
DstBlock "Mux"
DstPort 10
}
Line {
SrcBlock "Beaver dynamics"
SrcPort 11
DstBlock "Mux"
DstPort 11
}
Line {
SrcBlock "Beaver dynamics"
SrcPort 12
DstBlock "Mux"
DstPort 12
}
Line {
SrcBlock "Beaver dynamics"
SrcPort 13
DstBlock "Mux"
DstPort 13
}
Line {
SrcBlock "Beaver dynamics"
SrcPort 14
DstBlock "Mux"
DstPort 14
}
Line {
SrcBlock "Beaver dynamics"
SrcPort 15
DstBlock "Mux"
DstPort 15
}
Line {
SrcBlock "Beaver dynamics"
SrcPort 16
DstBlock "Mux"
DstPort 16
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "Selector"
DstPort 1
}
Annotation {
Position [179, 12]
VerticalAlignment "top"
ForegroundColor "blue"
Text "Basic initialization:"
FontName "Arial"
FontSize 11
FontWeight "bold"
}
Annotation {
Position [363, 19]
ForegroundColor "blue"
Text "Termination:"
FontName "Arial"
FontSize 11
FontWeight "bold"
}
Annotation {
Position [189, 87]
VerticalAlignment "top"
ForegroundColor "blue"
Text "Advanced initialization:"
FontName "Arial"
FontSize 11
FontWeight "bold"
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -