📄 navlib1.mdl
字号:
Name "+/- 150 e-6A"
Position [550, 395, 575, 415]
FontName "Arial"
FontSize 11
UpperLimit "150"
LowerLimit "-150"
}
Block {
BlockType Saturate
Name "+/- 150 e-6A"
Position [550, 355, 575, 375]
FontName "Arial"
FontSize 11
UpperLimit "150"
LowerLimit "-150"
}
Block {
BlockType Demux
Name "Demux"
Ports [1, 2, 0, 0, 0]
Position [80, 86, 85, 144]
BackgroundColor "black"
ShowName off
FontName "Arial"
FontSize 11
Outputs "[2 1]"
Port {
PortNumber 2
Name "Hf"
TestPoint off
RTWStorageClass "Auto"
}
}
Block {
BlockType Fcn
Name "Gamma gs"
Position [165, 435, 370, 455]
FontName "Arial"
FontSize 11
Expr "asin((u[2]-ygs)/u[4])"
}
Block {
BlockType Fcn
Name "Gamma loc"
Position [165, 395, 370, 415]
FontName "Arial"
FontSize 11
Expr "asin(u[2]/u[4])"
}
Block {
BlockType SubSystem
Name "ILStest"
Ports [1, 1, 0, 0, 0]
Position [460, 504, 565, 536]
FontName "Arial"
FontSize 11
ShowPortLabels off
MaskType "ILStest"
MaskDescription "ILS coverage test"
MaskHelp "eval('browse ilstest')"
MaskDisplay "disp('ILS coverage\\ntest (LOC & GS)')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "ILStest"
Location [15, 54, 639, 251]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
Block {
BlockType Inport
Name "[Gamma_loc;\nGamma_gs;\nRloc;\nRgs]"
Position [25, 108, 55, 122]
FontName "Arial"
FontSize 11
Port "1"
PortWidth "-1"
SampleTime "-1"
DataType "auto"
SignalType "auto"
Interpolate on
}
Block {
BlockType Fcn
Name "Fcn"
Position [205, 35, 330, 55]
ShowName off
FontName "Arial"
FontSize 11
Expr "(u[1]>35)*(u[3]>10)"
}
Block {
BlockType Fcn
Name "Fcn1"
Position [205, 65, 330, 85]
ShowName off
FontName "Arial"
FontSize 11
Expr "(u[1]>10)*(u[3]>17)"
}
Block {
BlockType Fcn
Name "Fcn2"
Position [205, 95, 330, 115]
ShowName off
FontName "Arial"
FontSize 11
Expr "u[3]>25"
}
Block {
BlockType Fcn
Name "Fcn3"
Position [410, 65, 460, 85]
ShowName off
FontName "Arial"
FontSize 11
Expr "u[1]>0"
Port {
PortNumber 1
Name "LOC_flag"
TestPoint off
RTWStorageClass "Auto"
}
}
Block {
BlockType Fcn
Name "Fcn4"
Position [205, 135, 330, 155]
ShowName off
FontName "Arial"
FontSize 11
Expr "u[2]>8"
}
Block {
BlockType Fcn
Name "Fcn5"
Position [205, 165, 330, 185]
ShowName off
FontName "Arial"
FontSize 11
Expr "u[4]>10"
}
Block {
BlockType Fcn
Name "Fcn6"
Position [410, 150, 460, 170]
ShowName off
FontName "Arial"
FontSize 11
Expr "u[1]>0"
Port {
PortNumber 1
Name "GS_flag"
TestPoint off
RTWStorageClass "Auto"
}
}
Block {
BlockType Mux
Name "Mux"
Ports [2, 1, 0, 0, 0]
Position [540, 109, 545, 131]
BackgroundColor "black"
ShowName off
FontName "Arial"
FontSize 11
Inputs "2"
DisplayOption "none"
}
Block {
BlockType Sum
Name "Sum"
Ports [3, 1, 0, 0, 0]
Position [375, 57, 390, 93]
ShowName off
FontName "Arial"
FontSize 11
IconShape "rectangular"
Inputs "+++"
SaturateOnIntegerOverflow on
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1, 0, 0, 0]
Position [375, 148, 390, 172]
ShowName off
FontName "Arial"
FontSize 11
IconShape "rectangular"
Inputs "++"
SaturateOnIntegerOverflow on
}
Block {
BlockType Gain
Name "rad --> deg\nm --> NM"
Position [100, 102, 130, 128]
FontName "Arial"
FontSize 11
Gain "1*[180/pi 180/pi 1/1852 1/1852]"
SaturateOnIntegerOverflow on
}
Block {
BlockType SubSystem
Name "t"
Ports [0, 0, 0, 0, 0]
Position [14, 13, 166, 50]
ForegroundColor "blue"
DropShadow on
ShowName off
OpenFcn "browse ilstest"
FontName "Arial"
FontSize 11
ShowPortLabels off
MaskDisplay "disp('ILStest (coverage test)\\nM.O. Ra"
"uw, February 2004')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "t"
Location [38, 151, 128, 236]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
}
}
Block {
BlockType Outport
Name "[LOC_flag;\nGS_flag]"
Position [575, 113, 605, 127]
FontName "Arial"
FontSize 11
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "[Gamma_loc;\nGamma_gs;\nRloc;\nRgs]"
SrcPort 1
DstBlock "rad --> deg\nm --> NM"
DstPort 1
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "Fcn6"
DstPort 1
}
Line {
SrcBlock "Fcn5"
SrcPort 1
Points [15, 0; 0, -10]
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "Fcn4"
SrcPort 1
Points [15, 0; 0, 10]
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Fcn3"
DstPort 1
}
Line {
SrcBlock "Fcn2"
SrcPort 1
Points [15, 0; 0, -20]
DstBlock "Sum"
DstPort 3
}
Line {
SrcBlock "Fcn1"
SrcPort 1
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Fcn"
SrcPort 1
Points [15, 0; 0, 20]
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "[LOC_flag;\nGS_flag]"
DstPort 1
}
Line {
Name "LOC_flag"
FontSize 11
Labels [0, 1]
SrcBlock "Fcn3"
SrcPort 1
Points [55, 0; 0, 40]
DstBlock "Mux"
DstPort 1
}
Line {
Name "GS_flag"
FontSize 11
Labels [0, 1]
SrcBlock "Fcn6"
SrcPort 1
Points [55, 0; 0, -35]
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "rad --> deg\nm --> NM"
SrcPort 1
Points [30, 0]
Branch {
Points [0, 45; 20, 0]
Branch {
Points [0, -15]
DstBlock "Fcn4"
DstPort 1
}
Branch {
Points [0, 15]
DstBlock "Fcn5"
DstPort 1
}
}
Branch {
Points [0, -40; 20, 0]
Branch {
DstBlock "Fcn1"
DstPort 1
}
Branch {
Points [0, -30]
DstBlock "Fcn"
DstPort 1
}
Branch {
Points [0, 30]
DstBlock "Fcn2"
DstPort 1
}
}
}
}
}
Block {
BlockType Mux
Name "Mux"
Ports [3, 1, 0, 0, 0]
Position [365, 84, 370, 116]
BackgroundColor "black"
ShowName off
FontName "Arial"
FontSize 11
Inputs "3"
DisplayOption "none"
Port {
PortNumber 1
Name "[xf yf Hf]'"
TestPoint off
RTWStorageClass "Auto"
}
}
Block {
BlockType Mux
Name "Mux1"
Ports [4, 1, 0, 0, 0]
Position [465, 93, 470, 137]
BackgroundColor "black"
ShowName off
FontName "Arial"
FontSize 11
Inputs "[3 1 1 1]"
DisplayOption "none"
}
Block {
BlockType Mux
Name "Mux2"
Ports [2, 1, 0, 0, 0]
Position [105, 234, 110, 261]
BackgroundColor "black"
ShowName off
FontName "Arial"
FontSize 11
Inputs "[3 1]"
DisplayOption "none"
}
Block {
BlockType Mux
Name "Mux3"
Ports [2, 1, 0, 0, 0]
Position [105, 387, 110, 418]
BackgroundColor "black"
ShowName off
FontName "Arial"
FontSize 11
Inputs "[3 1]"
DisplayOption "none"
}
Block {
BlockType Mux
Name "Mux5"
Ports [4, 1, 0, 0, 0]
Position [135, 496, 140, 544]
BackgroundColor "black"
ShowName off
FontName "Arial"
FontSize 11
Inputs "4"
DisplayOption "none"
}
Block {
BlockType Mux
Name "Mux6"
Ports [2, 1, 0, 0, 0]
Position [105, 434, 110, 456]
BackgroundColor "black"
ShowName off
FontName "Arial"
FontSize 11
Inputs "[3 1]"
DisplayOption "none"
}
Block {
BlockType Mux
Name "Mux7"
Ports [2, 1, 0, 0, 0]
Position [465, 244, 470, 266]
BackgroundColor "black"
ShowName off
FontName "Arial"
FontSize 11
Inputs "2"
DisplayOption "none"
}
Block {
BlockType Mux
Name "Mux8"
Ports [2, 1, 0, 0, 0]
Position [610, 390, 615, 410]
BackgroundColor "black"
ShowName off
FontName "Arial"
FontSize 11
Inputs "2"
DisplayOption "none"
}
Block {
BlockType Fcn
Name "Rgs"
Position [105, 180, 295, 200]
FontName "Arial"
FontSize 11
Expr "sqrt((xgs-u[1])^2 + (-ygs+u[2])^2)"
}
Block {
BlockType Fcn
Name "Rloc"
Position [105, 335, 295, 355]
FontName "Arial"
FontSize 11
Expr "sqrt(u[2]^2 + (xloc - u[1])^2)"
}
Block {
BlockType Gain
Name "Sgs"
Position [465, 348, 510, 382]
ShowName off
FontName "Arial"
FontSize 11
Gain "Sgs"
SaturateOnIntegerOverflow on
Port {
PortNumber 1
Name "igs"
TestPoint off
RTWStorageClass "Auto"
}
}
Block {
BlockType Gain
Name "Sloc"
Position [465, 388, 510, 422]
ShowName off
FontName "Arial"
FontSize 11
Gain "Sloc"
SaturateOnIntegerOverflow on
Port {
PortNumber 1
Name "iloc"
TestPoint off
RTWStorageClass "Auto"
}
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1, 0, 0, 0]
Position [50, 104, 65, 126]
ShowName off
FontName "Arial"
FontSize 11
IconShape "rectangular"
Inputs "+-"
SaturateOnIntegerOverflow on
}
Block {
BlockType Constant
Name "cnst"
Position [12, 145, 58, 165]
Orientation "up"
FontName "Arial"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -