📄 radar.mdl
字号:
BlockType Display
Name "Range Index"
Ports [1]
Position [905, 135, 990, 165]
Decimation "1"
}
Block {
BlockType Reference
Name "Repeat2"
Ports [1, 1]
Position [415, 182, 465, 208]
SourceBlock "dspsigops/Repeat"
SourceType "Repeat"
N "8"
ic "0"
mode "Maintain input frame rate"
}
Block {
BlockType Reference
Name "Reshape"
Ports [1, 1]
Position [415, 96, 460, 134]
ShowName off
SourceBlock "simulink/Math\nOperations/Reshape"
SourceType "Reshape"
OutputDimensionality "Customize"
OutputDimensions "[120,64]"
}
Block {
BlockType Gain
Name "Rx Gain"
Position [215, 100, 245, 130]
Gain "10^12"
}
Block {
BlockType SubSystem
Name "Transform\nTo Freq Domain"
Ports [1, 1]
Position [665, 95, 705, 155]
TreatAsAtomicUnit off
System {
Name "Transform\nTo Freq Domain"
Location [392, 300, 837, 412]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [25, 48, 55, 62]
}
Block {
BlockType SubSystem
Name "FFT Flip1"
Ports [1, 1]
Position [220, 25, 260, 85]
TreatAsAtomicUnit off
System {
Name "FFT Flip1"
Location [560, 277, 949, 457]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "In"
Position [25, 58, 55, 72]
}
Block {
BlockType Reference
Name "Matrix\nConcatenation"
Ports [2, 1]
Position [245, 29, 255, 91]
ShowName off
SourceBlock "simulink/Math\nOperations/Matrix\nC"
"oncatenation"
SourceType "Matrix Concatenation"
numInports "2"
catMethod "Vertical"
}
Block {
BlockType Reference
Name "Multiport\nSelector1"
Ports [1, 2]
Position [120, 36, 130, 89]
ShowName off
SourceBlock "dspindex/Multiport\nSelector"
SourceType "Multiport Selector"
rowsOrCols "Rows"
idxCellArray "{ 1:1:NumPulses/2,NumPulses/2+1:Num"
"Pulses}"
idxErrMode "Clip Index"
}
Block {
BlockType Outport
Name "Out"
Position [310, 53, 340, 67]
}
Line {
SrcBlock "In"
SrcPort 1
DstBlock "Multiport\nSelector1"
DstPort 1
}
Line {
SrcBlock "Matrix\nConcatenation"
SrcPort 1
DstBlock "Out"
DstPort 1
}
Line {
SrcBlock "Multiport\nSelector1"
SrcPort 2
Points [20, 0; 0, -15; 45, 0; 0, -15]
DstBlock "Matrix\nConcatenation"
DstPort 1
}
Line {
SrcBlock "Multiport\nSelector1"
SrcPort 1
Points [40, 0; 0, 25]
DstBlock "Matrix\nConcatenation"
DstPort 2
}
}
}
Block {
BlockType Reference
Name "FFT1"
Ports [1, 1]
Position [145, 38, 185, 72]
ShowName off
SourceBlock "dspxfrm3/FFT"
SourceType "FFT"
CompMethod "Table lookup"
TableOpt "Speed"
BitRevOrder "off"
}
Block {
BlockType Reference
Name "Frame Status\nConversion"
Ports [1, 1]
Position [345, 43, 365, 67]
ShowName off
SourceBlock "dspsigattribs/Frame Status\nConversion"
SourceType "Frame Status Conversion"
growRefPort "off"
outframe "Frame-based"
}
Block {
BlockType Reference
Name "Transpose2"
Ports [1, 1]
Position [80, 41, 100, 69]
ShowName off
SourceBlock "dspmtrx3/Transpose"
SourceType "Transpose"
Hermitian "off"
}
Block {
BlockType Reference
Name "Transpose3"
Ports [1, 1]
Position [295, 41, 315, 69]
ShowName off
SourceBlock "dspmtrx3/Transpose"
SourceType "Transpose"
Hermitian "off"
}
Block {
BlockType Outport
Name "Out1"
Position [390, 48, 420, 62]
}
Line {
SrcBlock "Transpose2"
SrcPort 1
DstBlock "FFT1"
DstPort 1
}
Line {
SrcBlock "FFT1"
SrcPort 1
DstBlock "FFT Flip1"
DstPort 1
}
Line {
SrcBlock "FFT Flip1"
SrcPort 1
DstBlock "Transpose3"
DstPort 1
}
Line {
SrcBlock "Transpose3"
SrcPort 1
DstBlock "Frame Status\nConversion"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Transpose2"
DstPort 1
}
Line {
SrcBlock "Frame Status\nConversion"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
}
}
Block {
BlockType Outport
Name "Out"
Position [820, 33, 850, 47]
ShowName off
}
Block {
BlockType Outport
Name "Out1"
Position [910, 48, 940, 62]
ShowName off
Port "2"
}
Block {
BlockType Outport
Name "Out2"
Position [915, 188, 945, 202]
ShowName off
Port "3"
}
Line {
SrcBlock "Buffer"
SrcPort 1
DstBlock "Reshape"
DstPort 1
}
Line {
SrcBlock "Reshape"
SrcPort 1
DstBlock "Correlation"
DstPort 1
}
Line {
SrcBlock "H/W Limitation\non Bandwidth"
SrcPort 1
DstBlock "Rx Gain"
DstPort 1
}
Line {
SrcBlock "DSP\nConstant"
SrcPort 1
DstBlock "Repeat2"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "H/W Limitation\non Bandwidth"
DstPort 1
}
Line {
SrcBlock "Repeat2"
SrcPort 1
Points [45, 0; 0, -60]
DstBlock "Correlation"
DstPort 2
}
Line {
SrcBlock "Correlation"
SrcPort 1
DstBlock "Transform\nTo Freq Domain"
DstPort 1
}
Line {
SrcBlock "Transform\nTo Freq Domain"
SrcPort 1
Points [50, 0]
Branch {
DstBlock "Find Range and\nFreq indexes"
DstPort 1
}
Branch {
Points [0, -85]
DstBlock "Out"
DstPort 1
}
}
Line {
Labels [0, 0]
SrcBlock "Find Range and\nFreq indexes"
SrcPort 1
Points [10, 0]
Branch {
DstBlock "Frequency/Speed Index"
DstPort 1
}
Branch {
Points [0, -40]
DstBlock "Out1"
DstPort 1
}
}
Line {
Labels [0, 0]
SrcBlock "Find Range and\nFreq indexes"
SrcPort 2
Points [10, 0]
Branch {
DstBlock "Range Index"
DstPort 1
}
Branch {
Points [0, 45]
DstBlock "Out2"
DstPort 1
}
}
Line {
SrcBlock "Rx Gain"
SrcPort 1
DstBlock "Buffer"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Target1"
Ports [1, 1]
Position [295, 54, 420, 126]
TreatAsAtomicUnit off
MaskType "Target"
MaskPromptString "Starting Distance (m)|Speed (m/s)"
MaskStyleString "edit,edit"
MaskTunableValueString "on,on"
MaskCallbackString "|"
MaskEnableString "on,on"
MaskVisibilityString "on,on"
MaskToolTipString "on,on"
MaskVarAliasString ","
MaskVariables "DistanceStart=@1;Speed=@2;"
MaskInitialization "Wavelength=3e8/1e9; % Speed/Frequency;\nFrequen"
"cy=Speed/Wavelength; % Doppler shift Vehicle speed/Wavelength\nufo = imread('"
"ufo.jpg','jpeg');"
MaskDisplay "image(ufo)"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "1000|10000"
System {
Name "Target1"
Location [4, 202, 958, 543]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "Tx Pulses"
Position [70, 38, 100, 52]
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -