📄 systema.mdl
字号:
LowerSaturationLimit "-inf"
ShowSaturationPort off
ShowStatePort off
AbsoluteTolerance "auto"
IgnoreLimit off
ZeroCross on
ContinuousStateAttributes "''"
}
Block {
BlockType MATLABFcn
MATLABFcn "sin"
OutputDimensions "-1"
OutputSignalType "auto"
Output1D on
SampleTime "-1"
}
Block {
BlockType Mux
Inputs "4"
DisplayOption "none"
UseBusObject off
BusObject "BusObject"
NonVirtualBus off
}
Block {
BlockType Outport
Port "1"
UseBusObject off
BusObject "BusObject"
BusOutputAsStruct off
PortDimensions "-1"
SampleTime "-1"
DataType "auto"
OutDataType "sfix(16)"
OutScaling "2^0"
SignalType "auto"
SamplingMode "auto"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Block {
BlockType RandomNumber
Mean "0"
Variance "1"
Seed "0"
SampleTime "-1"
VectorParams1D on
}
Block {
BlockType RateTransition
Integrity on
Deterministic on
X0 "0"
OutPortSampleTime "-1"
}
Block {
BlockType Saturate
UpperLimit "0.5"
LowerLimit "-0.5"
LinearizeAsGain on
ZeroCross on
SampleTime "-1"
}
Block {
BlockType Scope
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
SampleTime "-1"
}
Block {
BlockType SubSystem
ShowPortLabels "FromPortIcon"
Permissions "ReadWrite"
PermitHierarchicalResolution "All"
TreatAsAtomicUnit off
SystemSampleTime "-1"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
SimViewingDevice off
DataTypeOverride "UseLocalSettings"
MinMaxOverflowLogging "UseLocalSettings"
}
Block {
BlockType Sum
IconShape "rectangular"
Inputs "++"
CollapseMode "All dimensions"
CollapseDim "1"
InputSameDT on
OutDataTypeMode "Same as first input"
OutDataType "sfix(16)"
OutScaling "2^0"
LockScale off
RndMeth "Floor"
SaturateOnIntegerOverflow on
SampleTime "-1"
}
Block {
BlockType Terminator
}
Block {
BlockType ToWorkspace
VariableName "simulink_output"
MaxDataPoints "1000"
Decimation "1"
SampleTime "0"
FixptAsFi off
}
Block {
BlockType TransferFcn
Numerator "[1]"
Denominator "[1 2 1]"
AbsoluteTolerance "auto"
ContinuousStateAttributes "''"
Realization "auto"
}
Block {
BlockType TransportDelay
DelayTime "1"
InitialOutput "0"
BufferSize "1024"
FixedBuffer off
TransDelayFeedthrough off
PadeOrder "0"
}
}
AnnotationDefaults {
HorizontalAlignment "center"
VerticalAlignment "middle"
ForegroundColor "black"
BackgroundColor "white"
DropShadow off
FontName "Helvetica"
FontSize 10
FontWeight "normal"
FontAngle "normal"
UseDisplayTextAsClickCallback off
}
LineDefaults {
FontName "Helvetica"
FontSize 9
FontWeight "normal"
FontAngle "normal"
}
System {
Name "systema"
Location [34, 102, 1391, 737]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
ReportName "simulink-default.rpt"
Block {
BlockType SubSystem
Name "AERO"
Ports [2, 1]
Position [355, 262, 415, 358]
Orientation "left"
BackgroundColor "lightBlue"
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
MaskHideContents off
System {
Name "AERO"
Location [2, 98, 1022, 738]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [800, 208, 830, 222]
Orientation "left"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "In2"
Position [800, 283, 830, 297]
Orientation "left"
Port "2"
IconDisplay "Port number"
}
Block {
BlockType MATLABFcn
Name "AERO\nAttitude [rad]"
Ports [1, 1]
Position [460, 260, 520, 290]
Orientation "left"
MATLABFcn "aero"
OutputDimensions "24"
}
Block {
BlockType Mux
Name "Mux1"
Ports [2, 1]
Position [570, 238, 575, 307]
Orientation "left"
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Outport
Name "Out1"
Position [375, 268, 405, 282]
Orientation "left"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "In1"
SrcPort 1
Points [-65, 0; 0, 40]
DstBlock "Mux1"
DstPort 1
}
Line {
SrcBlock "In2"
SrcPort 1
DstBlock "Mux1"
DstPort 2
}
Line {
SrcBlock "Mux1"
SrcPort 1
DstBlock "AERO\nAttitude [rad]"
DstPort 1
}
Line {
SrcBlock "AERO\nAttitude [rad]"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "CONTROL"
Ports [5, 1]
Position [705, 290, 765, 380]
Orientation "left"
BackgroundColor "red"
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
MaskHideContents off
System {
Name "CONTROL"
Location [141, 208, 1161, 848]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [800, 208, 830, 222]
Orientation "left"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "In2"
Position [800, 268, 830, 282]
Orientation "left"
Port "2"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "In3"
Position [805, 303, 835, 317]
Orientation "left"
Port "3"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "In4"
Position [800, 483, 830, 497]
Orientation "left"
Port "4"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "In5"
Position [800, 513, 830, 527]
Orientation "left"
Port "5"
IconDisplay "Port number"
}
Block {
BlockType MATLABFcn
Name "ALT_CONTROL"
Ports [1, 1]
Position [475, 405, 535, 435]
Orientation "left"
MATLABFcn "alt_control"
OutputDimensions "1"
SampleTime "0.05"
}
Block {
BlockType Mux
Name "Mux1"
Ports [4, 1]
Position [645, 248, 650, 317]
Orientation "left"
ShowName off
DisplayOption "bar"
}
Block {
BlockType Mux
Name "Mux3"
Ports [4, 1]
Position [575, 384, 580, 456]
Orientation "left"
ShowName off
DisplayOption "bar"
}
Block {
BlockType Mux
Name "Mux4"
Ports [4, 1]
Position [305, 258, 310, 327]
Orientation "left"
ShowName off
DisplayOption "bar"
}
Block {
BlockType SubSystem
Name "RATE TRANSITION IN"
Ports [1, 3]
Position [675, 402, 715, 438]
Orientation "left"
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
MaskHideContents off
System {
Name "RATE TRANSITION IN"
Location [2, 98, 1022, 760]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [250, 308, 280, 322]
IconDisplay "Port number"
}
Block {
BlockType Demux
Name "Demux"
Ports [1, 12]
Position [370, 34, 380, 591]
BackgroundColor "black"
ShowName off
Outputs "12"
}
Block {
BlockType RateTransition
Name "Pitch Rate Transition"
Position [550, 133, 590, 177]
Deterministic off
OutPortSampleTime "50E-3"
}
Block {
BlockType RateTransition
Name "Roll Rate Transition"
Position [555, 43, 595, 87]
Deterministic off
OutPortSampleTime "50E-3"
}
Block {
BlockType Terminator
Name "Terminator1"
Position [460, 100, 480, 120]
}
Block {
BlockType Terminator
Name "Terminator12"
Position [470, 550, 490, 570]
}
Block {
BlockType Terminator
Name "Terminator14"
Position [470, 505, 490, 525]
}
Block {
BlockType Terminator
Name "Terminator3"
Position [460, 190, 480, 210]
}
Block {
BlockType Terminator
Name "Terminator4"
Position [460, 235, 480, 255]
}
Block {
BlockType Terminator
Name "Terminator5"
Position [460, 280, 480, 300]
}
Block {
BlockType Terminator
Name "Terminator6"
Position [460, 370, 480, 390]
}
Block {
BlockType Terminator
Name "Terminator7"
Position [470, 415, 490, 435]
}
Block {
BlockType Terminator
Name "Terminator8"
Position [470, 460, 490, 480]
}
Block {
BlockType RateTransition
Name "Z Rate Transition"
Position [550, 313, 590, 357]
Deterministic off
OutPortSampleTime "50E-3"
}
Block {
BlockType Outport
Name "Out1"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -