📄 landing.mdl
字号:
Model {
Name "landing"
Version 4.00
SampleTimeColors off
LibraryLinkDisplay "none"
WideLines on
ShowLineDimensions off
ShowPortDataTypes off
RecordCoverage off
CovPath "/"
CovSaveName "covdata"
CovNameIncrementing off
CovHtmlReporting on
BlockNameDataTip off
BlockParametersDataTip off
BlockDescriptionStringDataTip off
ToolBar on
StatusBar on
BrowserShowLibraryLinks off
BrowserLookUnderMasks off
Created "Wed Mar 06 21:23:09 2002"
UpdateHistory "UpdateHistoryNever"
ModifiedByFormat "%<Auto>"
LastModifiedBy "User"
ModifiedDateFormat "%<Auto>"
LastModifiedDate "Fri Mar 08 09:01:59 2002"
ModelVersionFormat "1.%<AutoIncrement:20>"
ConfigurationManager "none"
SimParamPage "Solver"
StartTime "0.0"
StopTime "FT"
SolverMode "Auto"
Solver "ode45"
RelTol "1e-3"
AbsTol "auto"
Refine "1"
MaxStep "auto"
MinStep "auto"
MaxNumMinSteps "-1"
InitialStep "auto"
FixedStep "auto"
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 "1000"
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"
SignalLabelMismatchMsg "none"
LinearizationMsg "none"
VectorMatrixConversionMsg "none"
SfunCompatibilityCheckMsg "none"
BlockPriorityViolationMsg "warning"
ArrayBoundsChecking "none"
ConsistencyChecking "none"
ZeroCross on
Profile off
SimulationMode "normal"
RTWSystemTargetFile "grt.tlc"
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"
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
ExtModeLogAll on
OptimizeBlockIOStorage on
BufferReuse on
ParameterPooling on
BlockReductionOpt off
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 "landing"
Location [290, 82, 778, 366]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "automatic"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
ReportName "simulink-default.rpt"
Block {
BlockType SubSystem
Name "Aircraft Landing\nSubsystem"
Ports [1, 2]
Position [230, 75, 285, 110]
ShowPortLabels on
TreatAsAtomicUnit off
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
System {
Name "Aircraft Landing\nSubsystem"
Location [278, 82, 688, 287]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "automatic"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
Block {
BlockType Inport
Name "u(k)"
Position [25, 43, 55, 57]
Port "1"
Interpolate on
}
Block {
BlockType Fcn
Name "Fcn"
Position [100, 35, 160, 65]
Expr "sin(u(1))"
}
Block {
BlockType Fcn
Name "Fcn1"
Position [100, 120, 160, 150]
Expr "tan(u(1)/57.3)"
}
Block {
BlockType Gain
Name "Gain"
Position [180, 35, 215, 65]
Gain "500"
Multiplication "Element-wise(K.*u)"
SaturateOnIntegerOverflow on
}
Block {
BlockType Gain
Name "Gain1"
Position [185, 120, 210, 150]
Gain "5"
Multiplication "Element-wise(K.*u)"
SaturateOnIntegerOverflow on
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [230, 40, 250, 60]
ShowName off
IconShape "round"
Inputs "|++"
SaturateOnIntegerOverflow on
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [230, 125, 250, 145]
ShowName off
IconShape "round"
Inputs "|++"
SaturateOnIntegerOverflow on
}
Block {
BlockType UnitDelay
Name "Unit Delay"
Position [285, 30, 320, 70]
X0 "1000"
SampleTime "1"
}
Block {
BlockType UnitDelay
Name "Unit Delay1"
Position [285, 115, 320, 155]
X0 "0"
SampleTime "1"
}
Block {
BlockType Outport
Name "y(k)"
Position [355, 43, 385, 57]
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Block {
BlockType Outport
Name "theta"
Position [355, 128, 385, 142]
Port "2"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "Fcn"
SrcPort 1
DstBlock "Gain"
DstPort 1
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Unit Delay"
DstPort 1
}
Line {
SrcBlock "Unit Delay"
SrcPort 1
Points [0, 0; 10, 0]
Branch {
Points [0, 40; -95, 0]
DstBlock "Sum"
DstPort 2
}
Branch {
DstBlock "y(k)"
DstPort 1
}
}
Line {
SrcBlock "Fcn1"
SrcPort 1
DstBlock "Gain1"
DstPort 1
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "Unit Delay1"
DstPort 1
}
Line {
SrcBlock "Unit Delay1"
SrcPort 1
Points [0, 0; 10, 0]
Branch {
Points [0, 40; -95, 0]
DstBlock "Sum1"
DstPort 2
}
Branch {
DstBlock "theta"
DstPort 1
}
}
Line {
SrcBlock "Gain"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Gain1"
SrcPort 1
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "u(k)"
SrcPort 1
Points [0, 0; 15, 0]
Branch {
DstBlock "Fcn"
DstPort 1
}
Branch {
Points [0, 85]
DstBlock "Fcn1"
DstPort 1
}
}
Annotation {
Position [254, 23]
Text "y(k+1)"
}
Annotation {
Position [252, 113]
Text "theta(k+1)"
}
}
}
Block {
BlockType Clock
Name "Clock"
Position [185, 205, 205, 225]
DisplayTime off
Decimation "10"
}
Block {
BlockType Reference
Name "Fuzzy Logic \nController \nwith Ruleviewer"
Ports [1, 1]
Position [85, 60, 145, 110]
FontSize 10
SourceBlock "fuzblock/Fuzzy Logic \nController \nwith Rulevi"
"ewer"
SourceType "FIS"
fismatrix "land"
Ts "0.1"
}
Block {
BlockType Gain
Name "Gain"
Position [245, 40, 280, 70]
Gain "1"
Multiplication "Element-wise(K.*u)"
SaturateOnIntegerOverflow on
}
Block {
BlockType Gain
Name "Gain1"
Position [315, 108, 355, 142]
Gain "57.3"
Multiplication "Element-wise(K.*u)"
SaturateOnIntegerOverflow on
}
Block {
BlockType Gain
Name "Gain2"
Position [160, 70, 195, 100]
Gain "1"
Multiplication "Element-wise(K.*u)"
SaturateOnIntegerOverflow on
}
Block {
BlockType Gain
Name "Gain3"
Position [310, 68, 350, 102]
Gain "0.01"
Multiplication "Element-wise(K.*u)"
SaturateOnIntegerOverflow on
}
Block {
BlockType Mux
Name "Mux"
Ports [2, 1]
Position [390, 96, 395, 134]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Mux
Name "Mux1"
Ports [2, 1]
Position [60, 66, 65, 104]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Scope
Name "Scope"
Ports [1]
Position [410, 99, 435, 131]
Floating off
Location [8, 60, 278, 220]
Open on
NumInputPorts "1"
TickLabels "OneTimeTick"
ZoomMode "on"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
Grid "on"
TimeRange "30"
YMin "-10"
YMax "10"
SaveToWorkspace off
SaveName "ScopeData"
DataFormat "StructureWithTime"
LimitDataPoints on
MaxDataPoints "5000"
Decimation "1"
SampleInput off
SampleTime "0"
}
Block {
BlockType Scope
Name "Scope1"
Ports [1]
Position [330, 39, 360, 71]
Floating off
Location [6, 286, 281, 479]
Open on
NumInputPorts "1"
TickLabels "OneTimeTick"
ZoomMode "on"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
Grid "on"
TimeRange "30"
YMin "-0.8"
YMax "0"
SaveToWorkspace off
SaveName "ScopeData1"
DataFormat "StructureWithTime"
LimitDataPoints on
MaxDataPoints "5000"
Decimation "1"
SampleInput off
SampleTime "0"
}
Block {
BlockType ToWorkspace
Name "To Workspace"
Position [240, 203, 260, 227]
VariableName "t"
MaxDataPoints "inf"
Decimation "1"
SampleTime "-1"
SaveFormat "Array"
}
Block {
BlockType ToWorkspace
Name "To Workspace1"
Position [185, 39, 205, 71]
VariableName "y"
MaxDataPoints "inf"
Decimation "1"
SampleTime "-1"
SaveFormat "Array"
}
Block {
BlockType ToWorkspace
Name "To Workspace2"
Position [225, 128, 245, 152]
VariableName "u"
MaxDataPoints "inf"
Decimation "1"
SampleTime "-1"
SaveFormat "Array"
}
Line {
SrcBlock "Aircraft Landing\nSubsystem"
SrcPort 2
Points [0, 25; 10, 0]
Branch {
DstBlock "Gain1"
DstPort 1
}
Branch {
Points [0, 35; -255, 0]
DstBlock "Mux1"
DstPort 2
}
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "Scope"
DstPort 1
}
Line {
SrcBlock "Aircraft Landing\nSubsystem"
SrcPort 1
Points [0, 0; 5, 0]
Branch {
DstBlock "Gain3"
DstPort 1
}
Branch {
Points [0, -50; -130, 0]
Branch {
Points [-120, 0]
DstBlock "Mux1"
DstPort 1
}
Branch {
Points [0, 20]
DstBlock "To Workspace1"
DstPort 1
}
}
}
Line {
SrcBlock "Fuzzy Logic \nController \nwith Ruleviewer"
SrcPort 1
DstBlock "Gain2"
DstPort 1
}
Line {
SrcBlock "Mux1"
SrcPort 1
DstBlock "Fuzzy Logic \nController \nwith Ruleviewer"
DstPort 1
}
Line {
SrcBlock "Gain2"
SrcPort 1
Points [5, 0]
Branch {
Points [5, 0; 5, 0]
Branch {
DstBlock "Aircraft Landing\nSubsystem"
DstPort 1
}
Branch {
Points [0, -30]
DstBlock "Gain"
DstPort 1
}
}
Branch {
Points [0, 55]
DstBlock "To Workspace2"
DstPort 1
}
}
Line {
SrcBlock "Gain"
SrcPort 1
DstBlock "Scope1"
DstPort 1
}
Line {
SrcBlock "Clock"
SrcPort 1
DstBlock "To Workspace"
DstPort 1
}
Line {
SrcBlock "Gain1"
SrcPort 1
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "Gain3"
SrcPort 1
Points [20, 0]
DstBlock "Mux"
DstPort 1
}
Annotation {
Position [51, 19]
Text "Landing.mdl"
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -