📄 cdma1.mdl
字号:
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Sum of\nElements"
Ports [1, 1]
Position [405, 370, 435, 400]
Inputs "+"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Sum of\nElements1"
Ports [1, 1]
Position [475, 80, 505, 110]
Inputs "+"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Sum of\nElements2"
Ports [1, 1]
Position [475, 195, 505, 225]
Inputs "+"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Sum of\nElements3"
Ports [1, 1]
Position [475, 285, 505, 315]
Inputs "+"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Sum of\nElements4"
Ports [1, 1]
Position [410, 460, 440, 490]
Inputs "+"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Sum of\nElements5"
Ports [1, 1]
Position [410, 555, 440, 585]
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 [140, 66, 200, 104]
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 Reference
Name "Unipolar to\nBipolar\nConverter1"
Ports [1, 1]
Position [140, 371, 200, 409]
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 [870, 98, 900, 112]
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "Out2"
Position [870, 213, 900, 227]
Port "2"
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "Out3"
Position [870, 303, 900, 317]
Port "3"
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "Out4"
Position [555, 368, 585, 382]
Port "4"
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "Out5"
Position [555, 458, 585, 472]
Port "5"
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "Out6"
Position [555, 553, 585, 567]
Port "6"
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "Out7"
Position [495, 418, 525, 432]
Port "7"
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "Out8"
Position [500, 513, 530, 527]
Port "8"
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "Out9"
Position [505, 613, 535, 627]
Port "9"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "In1"
SrcPort 1
Points [90, 0]
Branch {
Points [0, -100]
DstBlock "Product"
DstPort 2
}
Branch {
Points [0, 105]
Branch {
DstBlock "Product2"
DstPort 2
}
Branch {
Points [0, 70]
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
}
}
}
}
Branch {
DstBlock "Product1"
DstPort 1
}
}
Line {
SrcBlock "PN Sequence1"
SrcPort 1
DstBlock "Unipolar to\nBipolar\nConverter"
DstPort 1
}
Line {
SrcBlock "Integer Delay2"
SrcPort 1
Points [0, 45]
Branch {
DstBlock "Integer Delay3"
DstPort 1
}
Branch {
DstBlock "Product1"
DstPort 2
}
}
Line {
SrcBlock "Integer Delay3"
SrcPort 1
Points [0, 10]
DstBlock "Product2"
DstPort 1
}
Line {
SrcBlock "Product"
SrcPort 1
DstBlock "Sum of\nElements1"
DstPort 1
}
Line {
SrcBlock "Product1"
SrcPort 1
DstBlock "Sum of\nElements2"
DstPort 1
}
Line {
SrcBlock "Sum of\nElements"
SrcPort 1
Points [20, 0]
Branch {
DstBlock "Complex to\nMagnitude-Angle"
DstPort 1
}
Branch {
Points [0, 40]
DstBlock "Out7"
DstPort 1
}
}
Line {
SrcBlock "Sum of\nElements3"
SrcPort 1
DstBlock "Divide2"
DstPort 1
}
Line {
SrcBlock "Sum of\nElements2"
SrcPort 1
DstBlock "Divide1"
DstPort 1
}
Line {
SrcBlock "Sum of\nElements1"
SrcPort 1
DstBlock "Divide"
DstPort 1
}
Line {
SrcBlock "Divide"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "Divide1"
SrcPort 1
DstBlock "Out2"
DstPort 1
}
Line {
SrcBlock "Integer Delay1"
SrcPort 1
Points [0, 15]
Branch {
DstBlock "Product7"
DstPort 1
}
Branch {
DstBlock "Integer Delay4"
DstPort 1
}
}
Line {
SrcBlock "Integer Delay4"
SrcPort 1
Points [0, 5]
DstBlock "Product8"
DstPort 1
}
Line {
SrcBlock "Sum of\nElements4"
SrcPort 1
Points [20, 0]
Branch {
DstBlock "Complex to\nMagnitude-Angle1"
DstPort 1
}
Branch {
Points [0, 45]
DstBlock "Out8"
DstPort 1
}
}
Line {
SrcBlock "Sum of\nElements5"
SrcPort 1
Points [20, 0]
Branch {
DstBlock "Complex to\nMagnitude-Angle2"
DstPort 1
}
Branch {
Points [0, 50]
DstBlock "Out9"
DstPort 1
}
}
Line {
SrcBlock "Divide2"
SrcPort 1
DstBlock "Out3"
DstPort 1
}
Line {
SrcBlock "Product8"
SrcPort 1
DstBlock "Sum of\nElements5"
DstPort 1
}
Line {
SrcBlock "Product7"
SrcPort 1
DstBlock "Sum of\nElements4"
DstPort 1
}
Line {
SrcBlock "Product3"
SrcPort 1
DstBlock "Sum of\nElements"
DstPort 1
}
Line {
SrcBlock "Product2"
SrcPort 1
DstBlock "Sum of\nElements3"
DstPort 1
}
Line {
SrcBlock "PN Sequence2"
SrcPort 1
DstBlock "Unipolar to\nBipolar\nConverter1"
DstPort 1
}
Line {
SrcBlock "Unipolar to\nBipolar\nConverter1"
SrcPort 1
Points [100, 0]
Branch {
DstBlock "Product3"
DstPort 2
}
Branch {
DstBlock "Integer Delay1"
DstPort 1
}
}
Line {
SrcBlock "Unipolar to\nBipolar\nConverter"
SrcPort 1
Points [100, 0]
Branch {
DstBlock "Product"
DstPort 1
}
Branch {
DstBlock "Integer Delay2"
DstPort 1
}
}
Line {
SrcBlock "Magnitude-Angle\nto Complex"
SrcPort 1
Points [5, 0; 0, -275]
DstBlock "Divide"
DstPort 2
}
Line {
SrcBlock "Magnitude-Angle\nto Complex1"
SrcPort 1
Points [10, 0; 0, -250]
DstBlock "Divide1"
DstPort 2
}
Line {
SrcBlock "Magnitude-Angle\nto Complex2"
SrcPort 1
Points [10, 0; 0, -255]
DstBlock "Divide2"
DstPort 2
}
Line {
SrcBlock "Complex to\nMagnitude-Angle1"
SrcPort 2
DstBlock "Magnitude-Angle\nto Complex1"
DstPort 2
}
Line {
SrcBlock "Complex to\nMagnitude-Angle"
SrcPort 2
DstBlock "Magnitude-Angle\nto Complex"
DstPort 2
}
Line {
SrcBlock "Complex to\nMagnitude-Angle2"
SrcPort 2
DstBlock "Magnitude-Angle\nto Complex2"
DstPort 2
}
Line {
SrcBlock "Complex to\nMagnitude-Angle2"
SrcPort 1
DstBlock "Out6"
DstPort 1
}
Line {
SrcBlock "Complex to\nMagnitude-Angle1"
SrcPort 1
DstBlock "Out5"
DstPort 1
}
Line {
SrcBlock "Complex to\nMagnitude-Angle"
SrcPort 1
DstBlock "Out4"
DstPort 1
}
Line {
SrcBlock "Constant"
SrcPort 1
Points [10, 0; 0, 50]
Branch {
DstBlock "Magnitude-Angle\nto Complex"
DstPort 1
}
Branch {
Points [0, 90]
Branch {
DstBlock "Magnitude-Angle\nto Complex1"
DstPort 1
}
Branch {
Points [0, 95]
DstBlock "Magnitude-Angle\nto Complex2"
DstPort 1
}
}
}
}
}
Block {
BlockType Reference
Name "Unipolar to\nBipolar\nConverter"
Ports [1, 1]
Position [215, 384, 285, 426]
ShowName off
SourceBlock "commutil2/Unipolar to\nBipolar\nConverter"
SourceType "Unipolar to Bipolar Converter"
ShowPortLabels on
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inher
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -