📄 msmodulation.mdl
字号:
}
Block {
BlockType Product
Name "QProduct 1"
Ports [2, 1]
Position [500, 217, 540, 288]
InputSameDT off
RndMeth "Floor"
}
Block {
BlockType UnitDelay
Name "Unit Delay"
Position [395, 215, 430, 255]
SampleTime "xSampleTime"
}
Block {
BlockType "S-Function"
Name "conversion"
Ports [1, 1]
Position [585, 232, 690, 278]
FunctionName "MS_SPUN_QConvert"
MaskDisplay "disp('MS_SPUN_QConvert')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
}
Block {
BlockType Outport
Name "I branch"
Position [875, 88, 905, 102]
IconDisplay "Port number"
}
Block {
BlockType Outport
Name "Q branch"
Position [880, 233, 910, 247]
Port "2"
IconDisplay "Port number"
}
Line {
SrcBlock "Q branch PN"
SrcPort 1
DstBlock "PN Q Converter"
DstPort 1
}
Line {
SrcBlock "I Product"
SrcPort 1
Points [0, 0; 170, 0]
Branch {
Points [0, 125]
DstBlock "Q Product1 2"
DstPort 1
}
Branch {
DstBlock "I branch"
DstPort 1
}
}
Line {
SrcBlock "Q Product1 2"
SrcPort 1
DstBlock "Q branch"
DstPort 1
}
Line {
SrcBlock "conversion"
SrcPort 1
DstBlock "Q Product1 2"
DstPort 2
}
Line {
SrcBlock "QProduct 1"
SrcPort 1
DstBlock "conversion"
DstPort 1
}
Line {
SrcBlock "Unit Delay"
SrcPort 1
DstBlock "QProduct 1"
DstPort 1
}
Line {
SrcBlock "PN Q Converter"
SrcPort 1
DstBlock "QProduct 1"
DstPort 2
}
Line {
SrcBlock "LC Converter"
SrcPort 1
Points [0, 0; 35, 0]
Branch {
Points [0, 80]
DstBlock "Unit Delay"
DstPort 1
}
Branch {
Points [0, -45]
DstBlock "I Product"
DstPort 2
}
}
Line {
SrcBlock "PN I Converter"
SrcPort 1
Points [45, 0; 0, 15]
DstBlock "I Product"
DstPort 1
}
Line {
SrcBlock "Long Code\nGenerator"
SrcPort 1
DstBlock "LC Converter"
DstPort 1
}
Line {
SrcBlock "I branch PN"
SrcPort 1
DstBlock "PN I Converter"
DstPort 1
}
}
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [395, 95, 435, 155]
InputSameDT off
RndMeth "Floor"
}
Block {
BlockType Product
Name "Product1"
Ports [2, 1]
Position [390, 200, 430, 260]
InputSameDT off
RndMeth "Floor"
}
Block {
BlockType Product
Name "Product2"
Ports [2, 1]
Position [390, 290, 430, 350]
InputSameDT off
RndMeth "Floor"
}
Block {
BlockType Product
Name "Product3"
Ports [2, 1]
Position [390, 370, 430, 430]
InputSameDT off
RndMeth "Floor"
}
Block {
BlockType RealImagToComplex
Name "Real-Imag to\nComplex"
Ports [2, 1]
Position [810, 303, 840, 332]
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [135, 345, 165, 425]
ShowName off
Inputs "|++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum2"
Ports [3, 1]
Position [140, 194, 170, 306]
ShowName off
Inputs "|+++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum3"
Ports [2, 1]
Position [550, 244, 575, 306]
ShowName off
Inputs "|+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum4"
Ports [2, 1]
Position [550, 349, 575, 411]
ShowName off
Inputs "|++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Outport
Name "Singnal"
Position [1035, 328, 1065, 342]
IconDisplay "Port number"
}
Line {
SrcBlock "Gain Product"
SrcPort 1
DstBlock "Singnal"
DstPort 1
}
Line {
SrcBlock "Gain"
SrcPort 1
Points [35, 0; 0, -65]
DstBlock "Gain Product"
DstPort 2
}
Line {
SrcBlock "Real-Imag to\nComplex"
SrcPort 1
DstBlock "Gain Product"
DstPort 1
}
Line {
SrcBlock "FIR\nInterpolation"
SrcPort 1
Points [40, 0; 0, 35]
DstBlock "Real-Imag to\nComplex"
DstPort 1
}
Line {
SrcBlock "FIR\nInterpolation1"
SrcPort 1
Points [40, 0; 0, -55]
DstBlock "Real-Imag to\nComplex"
DstPort 2
}
Line {
SrcBlock "Sum4"
SrcPort 1
DstBlock "FIR\nInterpolation1"
DstPort 1
}
Line {
SrcBlock "Sum3"
SrcPort 1
DstBlock "FIR\nInterpolation"
DstPort 1
}
Line {
SrcBlock "Product3"
SrcPort 1
DstBlock "Sum4"
DstPort 2
}
Line {
SrcBlock "Product1"
SrcPort 1
Points [40, 0; 0, 150]
DstBlock "Sum4"
DstPort 1
}
Line {
SrcBlock "Product2"
SrcPort 1
Points [50, 0; 0, -25]
DstBlock "Sum3"
DstPort 2
}
Line {
SrcBlock "Product"
SrcPort 1
Points [45, 0; 0, 150]
DstBlock "Sum3"
DstPort 1
}
Line {
SrcBlock "Sum1"
SrcPort 1
Points [0, 0; 170, 0]
Branch {
Points [0, -50]
DstBlock "Product2"
DstPort 2
}
Branch {
DstBlock "Product3"
DstPort 1
}
}
Line {
SrcBlock "Sum2"
SrcPort 1
Points [0, -35; 165, 0]
Branch {
Points [0, -75]
DstBlock "Product"
DstPort 2
}
Branch {
DstBlock "Product1"
DstPort 1
}
}
Line {
SrcBlock "SCH1/CCCH/EACH"
SrcPort 1
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "FCH"
SrcPort 1
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "DCCH"
SrcPort 1
DstBlock "Sum2"
DstPort 3
}
Line {
SrcBlock "PCH"
SrcPort 1
DstBlock "Sum2"
DstPort 2
}
Line {
SrcBlock "SCH2"
SrcPort 1
DstBlock "Sum2"
DstPort 1
}
Line {
SrcBlock "PN Sequence"
SrcPort 1
Points [100, 0; 0, 60]
Branch {
Points [0, 305]
DstBlock "Product3"
DstPort 2
}
Branch {
DstBlock "Product"
DstPort 1
}
}
Line {
SrcBlock "PN Sequence"
SrcPort 2
Points [70, 0; 0, 160; 75, 0]
Branch {
DstBlock "Product1"
DstPort 2
}
Branch {
Points [0, 60]
DstBlock "Product2"
DstPort 1
}
}
}
}
Block {
BlockType Constant
Name "Relative Gain"
Position [60, 190, 90, 220]
}
Block {
BlockType Scope
Name "Scope"
Ports [2]
Position [920, 170, 950, 205]
Floating off
Location [307, 312, 1001, 551]
Open off
NumInputPorts "2"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
}
TimeRange "7.904135009279001e-005"
YMin "-1.94936~-5"
YMax "2.03938~5"
SaveToWorkspace on
DataFormat "Structure"
SampleTime "0"
}
Block {
BlockType ToWorkspace
Name "To Workspace"
Position [895, 315, 955, 345]
VariableName "simout"
MaxDataPoints "inf"
SampleTime "-1"
SaveFormat "Array"
}
Block {
BlockType Constant
Name "data"
Position [285, 100, 315, 130]
Value "0"
}
Line {
SrcBlock "Relative Gain"
SrcPort 1
DstBlock "FCH Frame Data"
DstPort 1
}
Line {
SrcBlock "FCH Frame Data"
SrcPort 1
DstBlock "Modulation"
DstPort 4
}
Line {
SrcBlock "data"
SrcPort 1
Points [0, 0; 35, 0]
Branch {
DstBlock "Modulation"
DstPort 1
}
Branch {
Points [0, 30]
Branch {
DstBlock "Modulation"
DstPort 2
}
Branch {
Points [0, 30]
Branch {
Points [0, 60]
DstBlock "Modulation"
DstPort 5
}
Branch {
DstBlock "Modulation"
DstPort 3
}
}
}
}
Line {
SrcBlock "Gain"
SrcPort 1
DstBlock "Modulation"
DstPort 6
}
Line {
SrcBlock "CR"
SrcPort 1
Points [80, 0]
Branch {
Points [0, 140]
DstBlock "To Workspace"
DstPort 1
}
Branch {
DstBlock "Complex to\nReal-Imag"
DstPort 1
}
}
Line {
SrcBlock "Modulation"
SrcPort 1
DstBlock "CR"
DstPort 1
}
Line {
SrcBlock "Complex to\nReal-Imag"
SrcPort 1
DstBlock "Scope"
DstPort 1
}
Line {
SrcBlock "Complex to\nReal-Imag"
SrcPort 2
DstBlock "Scope"
DstPort 2
}
}
}
MatData {
NumRecords 2
DataRecord {
Tag DataTag1
Data " %)30 . , 8 ( ! % "
"\" 0 0 "
}
DataRecord {
Tag DataTag0
Data " %)30 . < 8 ( 0 % "
"\" $ ! 0 . 0 8 ( ! % \" $ "
", 0 0 # $9)4D1E8TEN=&5R< "
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -