📄 cdma1.mdl
字号:
BlockType Inport
Name "In5"
Position [200, 278, 230, 292]
Port "5"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "In6"
Position [200, 353, 230, 367]
Port "6"
IconDisplay "Port number"
}
Block {
BlockType Sum
Name "Add"
Ports [3, 1]
Position [445, 233, 475, 307]
ShowName off
Inputs "+++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [360, 172, 390, 203]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Product1"
Ports [2, 1]
Position [360, 252, 390, 283]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Product2"
Ports [2, 1]
Position [360, 327, 390, 358]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Outport
Name "Out1"
Position [540, 263, 570, 277]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "In1"
SrcPort 1
Points [55, 0; 0, 10]
DstBlock "Product"
DstPort 1
}
Line {
SrcBlock "In2"
SrcPort 1
Points [55, 0; 0, 10]
DstBlock "Product1"
DstPort 1
}
Line {
SrcBlock "In3"
SrcPort 1
Points [55, 0; 0, 10]
DstBlock "Product2"
DstPort 1
}
Line {
SrcBlock "Add"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "Product1"
SrcPort 1
DstBlock "Add"
DstPort 2
}
Line {
SrcBlock "Product"
SrcPort 1
Points [15, 0; 0, 55]
DstBlock "Add"
DstPort 1
}
Line {
SrcBlock "Product2"
SrcPort 1
Points [15, 0; 0, -50]
DstBlock "Add"
DstPort 3
}
Line {
SrcBlock "In6"
SrcPort 1
Points [55, 0; 0, -10]
DstBlock "Product2"
DstPort 2
}
Line {
SrcBlock "In5"
SrcPort 1
Points [55, 0; 0, -10]
DstBlock "Product1"
DstPort 2
}
Line {
SrcBlock "In4"
SrcPort 1
Points [55, 0; 0, -10]
DstBlock "Product"
DstPort 2
}
}
}
Block {
BlockType Display
Name "MRCdisplay"
Ports [1]
Position [870, 27, 960, 93]
BackgroundColor "lightBlue"
Decimation "1"
Lockdown off
}
Block {
BlockType SubSystem
Name "MSE"
Ports [4, 1]
Position [890, 454, 970, 536]
BackgroundColor "lightBlue"
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
MaskHideContents off
System {
Name "MSE"
Location [0, 82, 1268, 775]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [480, 128, 510, 142]
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "In2"
Position [480, 218, 510, 232]
Port "2"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "In3"
Position [485, 313, 515, 327]
Port "3"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "In4"
Position [80, 258, 110, 272]
Port "4"
IconDisplay "Port number"
}
Block {
BlockType Sum
Name "Add1"
Ports [2, 1]
Position [545, 302, 575, 373]
Inputs "+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Add2"
Ports [2, 1]
Position [545, 117, 575, 188]
Inputs "+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Add3"
Ports [2, 1]
Position [545, 207, 575, 278]
Inputs "+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain"
Position [605, 140, 635, 170]
Gain "1/63"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain1"
Position [605, 230, 635, 260]
Gain "1/63"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain2"
Position [605, 325, 635, 355]
Gain "1/63"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Reference
Name "Integer Delay1"
Ports [1, 1]
Position [303, 195, 337, 230]
Orientation "down"
NamePlacement "alternate"
ShowName off
SourceBlock "simulink/Discrete/Integer Delay"
SourceType "Integer Delay"
vinit "0.0"
samptime "-1"
NumDelays "1"
}
Block {
BlockType Reference
Name "Integer Delay4"
Ports [1, 1]
Position [303, 300, 337, 335]
Orientation "down"
NamePlacement "alternate"
ShowName off
SourceBlock "simulink/Discrete/Integer Delay"
SourceType "Integer Delay"
vinit "0.0"
samptime "-1"
NumDelays "1"
}
Block {
BlockType Math
Name "Math\nFunction"
Ports [1, 1]
Position [660, 325, 690, 355]
Operator "magnitude^2"
}
Block {
BlockType Math
Name "Math\nFunction1"
Ports [1, 1]
Position [660, 140, 690, 170]
Operator "magnitude^2"
}
Block {
BlockType Math
Name "Math\nFunction2"
Ports [1, 1]
Position [660, 230, 690, 260]
Operator "magnitude^2"
}
Block {
BlockType Concatenate
Name "Matrix\nConcatenation"
Ports [3, 1]
Position [755, 206, 815, 284]
NumInputs "3"
Mode "Vertical matrix concatenation"
}
Block {
BlockType Reference
Name "Mean"
Ports [1, 1]
Position [905, 225, 960, 265]
DialogController "dspDDGCreate"
DialogControllerArgs "DataTag3"
SourceBlock "dspstat3/Mean"
SourceType "Mean"
run on
reset_popup "None"
additionalParams off
allowOverrides on
outputMode "Same as accumulator"
outputWordLength "32"
outputFracLength "30"
accumMode "Same as input"
accumWordLength "32"
accumFracLength "30"
roundingMode "Floor"
overflowMode off
LockScale off
}
Block {
BlockType Reference
Name "Mean1"
Ports [1, 1]
Position [840, 225, 885, 265]
DialogController "dspDDGCreate"
DialogControllerArgs "DataTag4"
SourceBlock "dspstat3/Mean"
SourceType "Mean"
run off
reset_popup "None"
additionalParams off
allowOverrides on
outputMode "Same as accumulator"
outputWordLength "32"
outputFracLength "30"
accumMode "Same as input"
accumWordLength "32"
accumFracLength "30"
roundingMode "Floor"
overflowMode off
LockScale off
}
Block {
BlockType Reference
Name "PN Sequence1"
Ports [0, 1]
Position [50, 155, 125, 195]
ShowName off
SourceBlock "commseqgen2/PN Sequence\nGenerator"
SourceType "PN Sequence Generator"
poly "[6 5 0]"
ini_sta "[0 0 0 1 0 1]"
shift "0"
Ts "1e-6"
frameBased on
sampPerFrame "63"
reset off
outDataType "double"
}
Block {
BlockType Product
Name "Product3"
Ports [2, 1]
Position [345, 152, 375, 183]
ShowName off
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Product7"
Ports [2, 1]
Position [360, 242, 390, 273]
ShowName off
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Product8"
Ports [2, 1]
Position [365, 337, 395, 368]
ShowName off
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Sum of\nElements1"
Ports [1, 1]
Position [435, 155, 465, 185]
Inputs "+"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Sum of\nElements4"
Ports [1, 1]
Position [440, 245, 470, 275]
Inputs "+"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Sum of\nElements5"
Ports [1, 1]
Position [445, 340, 475, 370]
Inputs "+"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Reference
Name "Unipolar to\nBipolar\nConverter"
Ports [1, 1]
Position [155, 156, 215, 194]
ShowName off
SourceBlock "commutil2/Unipolar to\nBipolar\nConverter"
SourceType "Unipolar to Bipolar Converter"
ShowPortLabels on
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
M "2"
polarity "Negative"
dataType "Same as input"
}
Block {
BlockType Outport
Name "Out1"
Position [1010, 238, 1040, 252]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Mean"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "In4"
SrcPort 1
Points [120, 0; 0, -105]
Branch {
Labels [1, 0]
DstBlock "Product3"
DstPort 1
}
Branch {
Points [0, 105]
Branch {
DstBlock "Product7"
DstPort 2
}
Branch {
Points [0, 95]
DstBlock "Product8"
DstPort 2
}
}
}
Line {
SrcBlock "Sum of\nElements1"
SrcPort 1
DstBlock "Add2"
DstPort 2
}
Line {
SrcBlock "Integer Delay1"
SrcPort 1
Points [0, 15]
Branch {
DstBlock "Product7"
DstPort 1
}
Branch {
DstBlock "Integer Delay4"
DstPort 1
}
}
Line {
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -