📄 radar.mdl
字号:
Name "State"
Position [215, 20, 245, 50]
}
Block {
BlockType SubSystem
Name "Subsystem"
Ports [1, 0, 1]
Position [215, 115, 385, 275]
TreatAsAtomicUnit on
System {
Name "Subsystem"
Location [18, 128, 992, 667]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [50, 53, 80, 67]
}
Block {
BlockType EnablePort
Name "Enable"
Ports []
Position [320, 45, 340, 65]
}
Block {
BlockType Abs
Name "Abs1"
Position [160, 45, 190, 75]
}
Block {
BlockType Reference
Name "Matrix\nViewer"
Ports [1]
Position [240, 35, 285, 85]
ShowName off
SourceBlock "dspsnks4/Matrix\nViewer"
SourceType "Matrix Viewer"
ImageParams "on"
CMapStr "jet(256)"
YMin "0"
YMax "391.201669869332"
AxisColorbar "on"
AxisParams "on"
AxisOrigin "Upper left corner"
XLabel "Frequency/Speed"
YLabel "Range"
ZLabel "Z-axis"
FigPos "[560 74 400 285]"
AxisZoom "off"
}
Line {
SrcBlock "Abs1"
SrcPort 1
DstBlock "Matrix\nViewer"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Abs1"
DstPort 1
}
}
}
Line {
SrcBlock "In"
SrcPort 1
DstBlock "Subsystem"
DstPort 1
}
Line {
SrcBlock "State"
SrcPort 1
Points [50, 0]
DstBlock "Subsystem"
DstPort enable
}
}
}
Block {
BlockType Display
Name "Range Index"
Ports [1]
Position [680, 180, 765, 210]
Decimation "1"
}
Block {
BlockType SubSystem
Name "Receiver"
Ports [1, 3]
Position [480, 52, 625, 128]
TreatAsAtomicUnit off
MaskInitialization "sat = imread('satellite.jpg');"
MaskDisplay "image(sat)"
MaskIconFrame off
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "Receiver"
Location [2, 411, 1014, 679]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "95"
Block {
BlockType Inport
Name "In1"
Position [15, 108, 45, 122]
}
Block {
BlockType Reference
Name "Buffer"
Ports [1, 1]
Position [300, 90, 350, 140]
SourceBlock "dspbuff3/Buffer"
SourceType "Buffer"
N "64*120"
V "0"
ic "0"
}
Block {
BlockType Reference
Name "Correlation"
Ports [2, 1]
Position [535, 106, 585, 144]
ShowName off
SourceBlock "dspstat3/Correlation"
SourceType "Correlation"
domain "Time"
}
Block {
BlockType Reference
Name "DSP\nConstant"
Ports [0, 1]
Position [295, 176, 365, 214]
ShowName off
SourceBlock "dspsrcs4/DSP\nConstant"
SourceType "DSP Constant"
Value "Codebp'"
SampleMode "Discrete"
discreteOutput "Frame-based"
continuousOutput "Sample-based"
sampTime "(SamplePeriod*(PRPeriodSamples*SamplesPerSy"
"mbol*NumPulses)*15/8)/7.5"
framePeriod "(SamplePeriod*(PRPeriodSamples*SamplesPerSy"
"mbol*NumPulses)*15/8)/7.5"
additionalParams "off"
dataType "Inherit from 'Constant value'"
wordLen "16"
udDataType "sfix(16)"
fracBitsMode "Best precision"
numFracBits "15"
InterpretAs1D "off"
Ts "(SamplePeriod*(PRPeriodSamples*SamplesPerSy"
"mbol*NumPulses)*15/8)/7.5"
FramebasedOutput "on"
}
Block {
BlockType SubSystem
Name "Find Range and\nFreq indexes"
Ports [1, 2]
Position [780, 69, 870, 176]
TreatAsAtomicUnit off
Port {
PortNumber 1
ShowPropagatedSignals "on"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
Port {
PortNumber 2
ShowPropagatedSignals "on"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
System {
Name "Find Range and\nFreq indexes"
Location [326, 364, 1007, 617]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [95, 73, 125, 87]
}
Block {
BlockType Abs
Name "Abs1"
Position [150, 65, 180, 95]
ShowName off
}
Block {
BlockType Fcn
Name "Fcn"
Position [475, 59, 505, 81]
Expr "u-32"
}
Block {
BlockType Reference
Name "Maximum"
Ports [1, 2]
Position [215, 60, 270, 100]
SourceBlock "dspstat3/Maximum"
SourceType "Maximum"
fcn "Value and Index"
reset "None"
}
Block {
BlockType Reference
Name "Maximum1"
Ports [1, 1]
Position [375, 52, 390, 88]
SourceBlock "dspstat3/Maximum"
SourceType "Maximum"
fcn "Index"
reset "None"
}
Block {
BlockType Reference
Name "Transpose"
Ports [1, 1]
Position [315, 51, 330, 89]
ShowName off
SourceBlock "dspmtrx3/Transpose"
SourceType "Transpose"
Hermitian "off"
}
Block {
BlockType Reference
Name "Transpose1"
Ports [1, 1]
Position [315, 113, 330, 147]
ShowName off
SourceBlock "dspmtrx3/Transpose"
SourceType "Transpose"
Hermitian "off"
}
Block {
BlockType Reference
Name "Variable\nSelector"
Ports [2, 1]
Position [450, 118, 545, 162]
SourceBlock "dspindex/Variable\nSelector"
SourceType "Variable Selector"
rowsOrCols "Rows"
IdxMode "Variable"
Elements "[1 3]"
ZerOneIdxMode "One-based"
errmode "Clip Index"
}
Block {
BlockType Outport
Name "Range Index"
Position [570, 63, 600, 77]
}
Block {
BlockType Outport
Name "Freq Index"
Position [570, 133, 600, 147]
Port "2"
}
Line {
SrcBlock "Maximum"
SrcPort 1
DstBlock "Transpose"
DstPort 1
}
Line {
SrcBlock "Transpose"
SrcPort 1
DstBlock "Maximum1"
DstPort 1
}
Line {
SrcBlock "Maximum"
SrcPort 2
Points [20, 0; 0, 40]
DstBlock "Transpose1"
DstPort 1
}
Line {
SrcBlock "Maximum1"
SrcPort 1
Points [0, 0; 30, 0]
Branch {
Points [0, 80]
DstBlock "Variable\nSelector"
DstPort 2
}
Branch {
DstBlock "Fcn"
DstPort 1
}
}
Line {
SrcBlock "Transpose1"
SrcPort 1
DstBlock "Variable\nSelector"
DstPort 1
}
Line {
SrcBlock "Abs1"
SrcPort 1
DstBlock "Maximum"
DstPort 1
}
Line {
SrcBlock "Fcn"
SrcPort 1
DstBlock "Range Index"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Abs1"
DstPort 1
}
Line {
SrcBlock "Variable\nSelector"
SrcPort 1
DstBlock "Freq Index"
DstPort 1
}
}
}
Block {
BlockType Display
Name "Frequency/Speed Index"
Ports [1]
Position [905, 81, 990, 109]
Decimation "1"
}
Block {
BlockType Reference
Name "H/W Limitation\non Bandwidth"
Ports [1, 1]
Position [100, 87, 165, 143]
UserDataPersistent on
UserData "DataTag0"
SourceBlock "dsparch4/Digital\nFilter Design"
SourceType "Digital Filter Design"
}
Block {
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -