📄 navlib1.mdl
字号:
FontSize 11
ShowPortLabels off
MaskType "1/Sloc"
MaskDescription "Multiplication factor 1/Sloc = 1.40*xloc, w"
"ith xloc the distance from the runway threshold to the localizer antenna, mea"
"sured along the runway centerline. "
MaskHelp "This block implements a multiplication fact"
"or 1/Sloc = 1.40*xloc, with xloc the distance from the runway threshold to th"
"e localizer antenna, measured along the runway centerline. "
MaskPromptString "Distance from runway threshold to localizer"
" antenna [m]:"
MaskStyleString "edit"
MaskTunableValueString "on"
MaskEnableString "on"
MaskVisibilityString "on"
MaskVariables "xloc=@1;"
MaskInitialization "K = 1.4*abs(xloc);"
MaskDisplay "plot([0,100,0,0],[0,50,100,0]);disp('1/Sloc"
" ');"
MaskIconFrame off
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "2200"
System {
Name "1/Sloc"
Location [45, 78, 235, 156]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "automatic"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
Block {
BlockType Inport
Name "In"
Position [25, 33, 55, 47]
FontSize 11
Port "1"
PortWidth "-1"
SampleTime "-1"
DataType "auto"
SignalType "auto"
Interpolate on
}
Block {
BlockType Gain
Name "1/Sgs"
Position [80, 27, 110, 53]
FontName "Arial"
FontSize 11
Gain "K"
SaturateOnIntegerOverflow on
}
Block {
BlockType Outport
Name "Out"
Position [135, 33, 165, 47]
FontSize 11
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "In"
SrcPort 1
DstBlock "1/Sgs"
DstPort 1
}
Line {
SrcBlock "1/Sgs"
SrcPort 1
DstBlock "Out"
DstPort 1
}
}
}
Block {
BlockType Demux
Name "Demux"
Ports [1, 2, 0, 0, 0]
Position [285, 104, 290, 126]
BackgroundColor "black"
ShowName off
FontName "Arial"
FontSize 11
Outputs "2"
}
Block {
BlockType Reference
Name "GSerr"
Ports [1, 1, 0, 0, 0]
Position [320, 53, 430, 97]
ShowName off
FontName "Arial"
FontSize 11
SourceBlock "navlib1/GSerr"
SourceType "GS steady-state errors"
cat "2"
MaskParam2 "100"
MaskParam3 "100"
MaskParam4 "-3"
}
Block {
BlockType Reference
Name "GSnoise1"
Ports [0, 1, 0, 0, 0]
Position [320, 13, 430, 47]
ShowName off
FontName "Arial"
FontSize 11
SourceBlock "navlib1/GSnoise1"
SourceType "GsNoise1"
Lgs "85"
sigma_gs "15"
V "40"
}
Block {
BlockType Reference
Name "ILS"
Ports [1, 4, 0, 0, 0]
Position [170, 106, 225, 169]
FontName "Arial"
FontSize 11
SourceBlock "navlib1/ILS"
SourceType "ILS"
MaskParam1 "0"
RWpos "[20000,-100,0]"
MaskParam3 "2200"
MaskParam4 "300"
MaskParam5 "100"
MaskParam6 "3"
}
Block {
BlockType Reference
Name "LOCerr"
Ports [1, 1, 0, 0, 0]
Position [320, 132, 425, 178]
ShowName off
FontName "Arial"
FontSize 11
SourceBlock "navlib1/LOCerr"
SourceType "LOC steady-state errors"
cat "2"
MaskParam2 "100"
MaskParam3 "100"
xloc "2200"
}
Block {
BlockType Reference
Name "LOCnoise1"
Ports [0, 1, 0, 0, 0]
Position [320, 183, 425, 217]
ShowName off
FontName "Arial"
FontSize 11
SourceBlock "navlib1/LOCnoise1"
SourceType "LocNoise1"
Lloc "130"
sigma_loc "15"
V "40"
}
Block {
BlockType Mux
Name "Mux1"
Ports [4, 1, 0, 0, 0]
Position [285, 148, 290, 192]
BackgroundColor "black"
ShowName off
FontName "Arial"
FontSize 11
Inputs "[2 2 6 2]"
DisplayOption "none"
}
Block {
BlockType Selector
Name "Selector"
Position [70, 100, 110, 180]
ShowName off
FontName "Arial"
FontSize 11
Elements "[10 11 12]"
InputPortWidth "12"
Port {
PortNumber 1
Name "[xe ye H]'"
TestPoint off
RTWStorageClass "Auto"
}
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1, 0, 0, 0]
Position [460, 58, 475, 82]
ShowName off
FontName "Arial"
FontSize 11
IconShape "rectangular"
Inputs "++"
SaturateOnIntegerOverflow on
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1, 0, 0, 0]
Position [460, 148, 475, 172]
ShowName off
FontName "Arial"
FontSize 11
IconShape "rectangular"
Inputs "++"
SaturateOnIntegerOverflow on
}
Block {
BlockType ToWorkspace
Name "To Workspace"
Position [283, 235, 317, 255]
Orientation "down"
BackgroundColor "yellow"
FontName "Arial"
FontSize 11
VariableName "yils"
Buffer "5000"
Decimation "1"
SampleTime "0"
SaveFormat "Matrix"
}
Block {
BlockType SubSystem
Name "t"
Ports [0, 0, 0, 0, 0]
Position [13, 15, 160, 55]
ForegroundColor "blue"
DropShadow on
ShowName off
OpenFcn "browse ilsxmpl"
FontName "Arial"
FontSize 11
ShowPortLabels off
MaskDisplay "disp('ILS example\\nMarc Rauw, January 2005"
"')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "t"
Location [-20, 13, 110, 133]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
}
}
Block {
BlockType Outport
Name "epsilon_gs_true"
Position [580, 63, 610, 77]
FontName "Arial"
FontSize 11
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Block {
BlockType Outport
Name "Gamma_loc_true"
Position [580, 153, 610, 167]
FontName "Arial"
FontSize 11
Port "2"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
Name "[xe ye H]'"
Labels [1, 0]
SrcBlock "Selector"
SrcPort 1
DstBlock "ILS"
DstPort 1
}
Line {
SrcBlock "Mux1"
SrcPort 1
Points [5, 0]
DstBlock "To Workspace"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 1
Points [10, 0]
DstBlock "GSerr"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 2
Points [10, 0]
DstBlock "LOCerr"
DstPort 1
}
Line {
SrcBlock "ILS"
SrcPort 4
Points [10, 0; 0, 25]
DstBlock "Mux1"
DstPort 4
}
Line {
SrcBlock "ILS"
SrcPort 1
Points [40, 0]
Branch {
DstBlock "Demux"
DstPort 1
}
Branch {
DstBlock "Mux1"
DstPort 1
}
}
Line {
SrcBlock "ILS"
SrcPort 3
Points [20, 0; 0, 30]
DstBlock "Mux1"
DstPort 3
}
Line {
SrcBlock "ILS"
SrcPort 2
Points [30, 0; 0, 35]
DstBlock "Mux1"
DstPort 2
}
Line {
SrcBlock "GSerr"
SrcPort 1
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "LOCnoise1"
SrcPort 1
Points [10, 0; 0, -35]
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "GSnoise1"
SrcPort 1
Points [5, 0; 0, 35]
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "LOCerr"
SrcPort 1
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "1/Sloc"
DstPort 1
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "1/Sgs"
DstPort 1
}
Line {
SrcBlock "x"
SrcPort 1
DstBlock "Selector"
DstPort 1
}
Line {
SrcBlock "1/Sgs"
SrcPort 1
DstBlock "epsilon_gs_true"
DstPort 1
}
Line {
SrcBlock "1/Sloc"
SrcPort 1
DstBlock "Gamma_loc_true"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "ILS example\n(no noise)"
Ports [1, 2, 0, 0, 0]
Position [435, 152, 490, 208]
BackgroundColor "lightBlue"
FontName "Arial"
FontSize 11
ShowPortLabels off
MaskDisplay "plot(0,0,100,100,[53,23,30,61,53],[45,60,64,49,"
"45],[16,27,32,26],[48,40,43,47],[21,20,24,26,21],[44,55,56,47,44],[20,20,16],"
"[50,50,48],[38,27,26,33],[52,46,48,55],[42,38,27],[50,47,46],[40,44,44,45,45,"
"44,42],[48,44,42,42,44,44,50],[47,45,43],[55,58,58],[54,84,98,90,54],[36,21,5"
"6,58,36],[74,68],[34,29],[81,76],[43,38],[87,83],[49,45],[94,89],[57,52],[105"
",105],[0,0])"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "ILS example\n(no noise)"
Location [39, 72, 657, 302]
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 [20, 123, 50, 137]
FontName "Arial"
FontSize 11
Port "1"
PortWidth "-1"
SampleTime "-1"
DataType "auto"
SignalType "auto"
Interpolate on
}
Block {
BlockType Reference
Name "1/Sgs"
Ports [1, 1, 0, 0, 0]
Position [455, 43, 510, 87]
ShowName off
FontName "Arial"
FontSize 11
SourceBlock "navlib1/ILS example/1//Sgs"
SourceType "1/Sgs"
gamgs "-3"
}
Block {
BlockType Reference
Name "1/Sloc"
Ports [1, 1, 0, 0, 0]
Position [455, 123, 510, 167]
ShowName off
FontName "Arial"
FontSize 11
SourceBlock "navlib1/ILS example/1//Sloc"
SourceType "1/Sloc"
xloc "2200"
}
Block {
BlockType Demux
Name "Demux"
Ports [1, 2, 0, 0, 0]
Position [290, 94, 295, 116]
BackgroundColor "black"
ShowName off
FontName "Arial"
FontSize 11
Outputs "2"
}
Block {
BlockType Reference
Name "GSerr"
Ports [1, 1, 0, 0, 0]
Position [320, 43, 430, 87]
ShowName off
FontName "Arial"
FontSize 11
SourceBlock "navlib1/GSerr"
SourceType "GS steady-state errors"
cat "2"
MaskParam2 "100"
MaskParam3 "100"
MaskParam4 "-3"
}
Block {
BlockType Reference
Name "ILS"
Ports [1, 4, 0, 0, 0]
Position [175, 96, 230, 159]
FontName "Arial"
FontSize 11
SourceBlock "navlib1/ILS"
SourceType "ILS"
MaskParam1 "0"
RWpos "[20000,-100,0]"
MaskParam3 "2200"
MaskParam4 "300"
MaskParam5 "100"
MaskParam6 "3"
}
Block {
BlockType Reference
Name "LOCerr"
Ports [1, 1, 0, 0, 0]
Position [320, 122, 425, 168]
ShowName off
FontName "Arial"
FontSize 11
SourceBlock "navlib1/LOCerr"
SourceType "LOC steady-state errors"
cat "2"
MaskParam2 "100"
MaskParam3 "100"
xloc "2200"
}
Block {
BlockType Mux
Name "Mux1"
Ports [4, 1, 0, 0, 0]
Position [290, 138, 295, 182]
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -