📄 oloop1.mdl
字号:
Model {
Name "oloop1"
Version 3.00
SimParamPage "Solver"
SampleTimeColors off
InvariantConstants off
WideVectorLines off
ShowLineWidths off
ShowPortDataTypes off
StartTime "0.0"
StopTime "120"
SolverMode "SingleTasking"
Solver "ode15s"
RelTol "1e-3"
AbsTol "1e-3"
Refine "4"
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:26:33 2003"
UpdateHistory "UpdateHistoryNever"
ModifiedByFormat "%<Auto>"
LastModifiedBy "Dutchroll"
ModifiedDateFormat "%<Auto>"
LastModifiedDate "Mon Jan 05 20:11:35 2004"
ModelVersionFormat "1.%<AutoIncrement:21>"
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 "oloop1"
Location [45, 74, 683, 522]
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 RateLimiter
Name " Rate Limiter"
Position [100, 355, 125, 375]
FontName "Arial"
FontSize 11
RisingSlewLimit "1.0"
FallingSlewLimit "-1.0"
}
Block {
BlockType Reference
Name "Beaver dynamics"
Ports [3, 16, 0, 0, 0]
Position [415, 186, 485, 354]
BackgroundColor "lightBlue"
FontName "Arial"
FontSize 11
SourceBlock "fdclib10/Beaver dynamics\n for open-loop models"
SourceType "SubSystem"
}
Block {
BlockType Reference
Name "Block delta a"
Ports [0, 1, 0, 0, 0]
Position [35, 167, 65, 193]
FontName "Arial"
FontSize 11
SourceBlock "fdctools/Block Fcn"
SourceType "Block Fcn"
yinit "0"
yblock "3*pi/180"
tstart "0.001"
tstop "2"
}
Block {
BlockType Reference
Name "Block delta e"
Ports [0, 1, 0, 0, 0]
Position [35, 122, 65, 148]
FontName "Arial"
FontSize 11
SourceBlock "fdctools/Block Fcn"
SourceType "Block Fcn"
yinit "0"
yblock "3*pi/180"
tstart "0.001"
tstop "2"
}
Block {
BlockType Reference
Name "Block delta r"
Ports [0, 1, 0, 0, 0]
Position [35, 212, 65, 238]
FontName "Arial"
FontSize 11
SourceBlock "fdctools/Block Fcn"
SourceType "Block Fcn"
yinit "0"
yblock "3*pi/180"
tstart "0.001"
tstop "2"
}
Block {
BlockType SubSystem
Name "Graph\nscope"
Ports [1, 0, 0, 0, 0]
Position [585, 252, 615, 288]
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 Ground
Name "Ground_1"
Position [385, 320, 395, 330]
ShowName off
FontSize 11
}
Block {
BlockType Constant
Name "Initial inputs\nfor aeromod"
Position [280, 134, 330, 156]
FontName "Arial"
FontSize 11
Value "uaero0"
}
Block {
BlockType Constant
Name "Initial inputs\nfor engmod"
Position [280, 279, 335, 301]
FontName "Arial"
FontSize 11
Value "uprop0"
}
Block {
BlockType Mux
Name "Mux"
Ports [16, 1, 0, 0, 0]
Position [505, 187, 510, 353]
ShowName off
Inputs "16"
DisplayOption "bar"
}
Block {
BlockType Mux
Name "Mux1"
Ports [4, 1, 0, 0, 0]
Position [275, 190, 280, 245]
BackgroundColor "black"
ShowName off
FontName "Arial"
FontSize 11
Inputs "4"
DisplayOption "none"
}
Block {
BlockType Mux
Name "Mux2"
Ports [2, 1, 0, 0, 0]
Position [275, 335, 280, 370]
BackgroundColor "black"
ShowName off
FontName "Arial"
FontSize 11
Inputs "2"
DisplayOption "none"
}
Block {
BlockType RateLimiter
Name "Rate Limiter"
Position [100, 260, 125, 280]
FontName "Arial"
FontSize 11
RisingSlewLimit "pi/180"
FallingSlewLimit "-pi/180"
}
Block {
BlockType RateLimiter
Name "Rate Limiter "
Position [100, 310, 125, 330]
FontName "Arial"
FontSize 11
RisingSlewLimit "50"
FallingSlewLimit "-50"
}
Block {
BlockType Selector
Name "Selector"
Position [530, 212, 560, 328]
BackgroundColor "yellow"
DropShadow on
ShowName off
FontName "Arial"
FontSize 11
Elements "8"
InputPortWidth "16"
}
Block {
BlockType Step
Name "Step delta f"
Position [35, 260, 55, 280]
FontName "Arial"
FontSize 11
Time "0.001"
Before "0"
After "3*pi/180"
SampleTime "0"
}
Block {
BlockType Step
Name "Step n"
Position [35, 310, 55, 330]
FontName "Arial"
FontSize 11
Time "0.001"
Before "0"
After "200"
SampleTime "0"
}
Block {
BlockType Step
Name "Step pz"
Position [35, 355, 55, 375]
FontName "Arial"
FontSize 11
Time "0.001"
Before "0"
After "2"
SampleTime "0"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1, 0, 0, 0]
Position [365, 285, 380, 305]
ShowName off
FontName "Arial"
FontSize 11
IconShape "rectangular"
Inputs "++"
SaturateOnIntegerOverflow on
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1, 0, 0, 0]
Position [365, 205, 380, 225]
ShowName off
FontName "Arial"
FontSize 11
IconShape "rectangular"
Inputs "++"
SaturateOnIntegerOverflow on
}
Block {
BlockType Reference
Name "actrim"
Ports [0, 0, 0, 0, 0]
Position [331, 26, 412, 71]
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 [131, 26, 212, 71]
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 [421, 26, 502, 71]
BackgroundColor "cyan"
DropShadow on
ShowName off
FontName "Arial"
FontSize 11
SourceBlock "fbuttons/fixstate"
SourceType "fixstate"
}
Block {
BlockType Ground
Name "g1"
Position [170, 150, 180, 160]
ShowName off
FontName "Arial"
FontSize 11
}
Block {
BlockType Ground
Name "g2"
Position [170, 195, 180, 205]
ShowName off
FontName "Arial"
FontSize 11
}
Block {
BlockType Ground
Name "g3"
Position [170, 240, 180, 250]
ShowName off
FontName "Arial"
FontSize 11
}
Block {
BlockType Ground
Name "g4"
Position [170, 285, 180, 295]
ShowName off
FontName "Arial"
FontSize 11
}
Block {
BlockType Ground
Name "g5"
Position [170, 335, 180, 345]
ShowName off
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -