?? wcdmalib.mdl
字號:
ShowName off
SourceBlock "dspsigops/Integer Delay"
SourceType "Integer Delay"
delay "minNumTrBlksDelay"
ic "0"
}
Block {
BlockType Reference
Name "Multiport\nSelector1"
Ports [1, 1]
Position [355, 197, 440, 223]
ShowName off
SourceBlock "dspindex/Multiport\nSelector"
SourceType "Multiport Selector"
rowsOrCols "Rows"
idxCellArray "2"
idxErrMode "Clip Index"
}
Block {
BlockType Reference
Name "Multiport\nSelector2"
Ports [1, 1]
Position [360, 82, 445, 108]
ShowName off
SourceBlock "dspindex/Multiport\nSelector"
SourceType "Multiport Selector"
rowsOrCols "Rows"
idxCellArray "2"
idxErrMode "Clip Index"
}
Block {
BlockType Reference
Name "Multiport\nSelector3"
Ports [1, 1]
Position [360, 132, 445, 158]
ShowName off
SourceBlock "dspindex/Multiport\nSelector"
SourceType "Multiport Selector"
rowsOrCols "Rows"
idxCellArray "3"
idxErrMode "Clip Index"
}
Block {
BlockType Reference
Name "Multiport\nSelector4"
Ports [1, 1]
Position [355, 247, 440, 273]
ShowName off
SourceBlock "dspindex/Multiport\nSelector"
SourceType "Multiport Selector"
rowsOrCols "Rows"
idxCellArray "3"
idxErrMode "Clip Index"
}
Block {
BlockType Outport
Name "Out1"
Position [855, 128, 885, 142]
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "Combined BLER\nCalculation"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Error Rate Calculation1"
DstPort 2
}
Line {
SrcBlock "Multiport\nSelector3"
SrcPort 1
DstBlock "Combined BLER\nCalculation"
DstPort 3
}
Line {
SrcBlock "Multiport\nSelector2"
SrcPort 1
DstBlock "Combined BLER\nCalculation"
DstPort 1
}
Line {
SrcBlock "Error Rate Calculation1"
SrcPort 1
Points [0, 0; 20, 0]
Branch {
Points [0, -50]
DstBlock "Multiport\nSelector2"
DstPort 1
}
Branch {
DstBlock "Multiport\nSelector3"
DstPort 1
}
}
Line {
SrcBlock "DSP\nConstant1"
SrcPort 1
DstBlock "Error Rate Calculation1"
DstPort 1
}
Line {
SrcBlock "In2"
SrcPort 1
DstBlock "Error Rate Calculation2"
DstPort 2
}
Line {
SrcBlock "Multiport\nSelector4"
SrcPort 1
Points [160, 0; 0, -90]
DstBlock "Combined BLER\nCalculation"
DstPort 4
}
Line {
SrcBlock "Multiport\nSelector1"
SrcPort 1
Points [100, 0; 0, -90]
DstBlock "Combined BLER\nCalculation"
DstPort 2
}
Line {
SrcBlock "Error Rate Calculation2"
SrcPort 1
Points [0, 0; 20, 0]
Branch {
DstBlock "Multiport\nSelector4"
DstPort 1
}
Branch {
Points [0, -50]
DstBlock "Multiport\nSelector1"
DstPort 1
}
}
Line {
SrcBlock "DSP\nConstant2"
SrcPort 1
DstBlock "Error Rate Calculation2"
DstPort 1
}
Line {
SrcBlock "DSP\nConstant3"
SrcPort 1
DstBlock "Integer Delay"
DstPort 1
}
Line {
SrcBlock "Integer Delay"
SrcPort 1
Points [120, 0]
DstBlock "Combined BLER\nCalculation"
DstPort enable
}
}
}
Block {
BlockType SubSystem
Name "Complex\nUnipolar to\nBipolar\n"
Ports [1, 1]
Position [270, 175, 350, 215]
ShowPortLabels on
TreatAsAtomicUnit off
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
MaskType "Unipolar to Bipolar Converter"
MaskDescription "Convert a unipolar signal in the range [0, "
"M-1], where M is the M-ary number, into a bipolar signal. "
MaskHelp "helpview(commbhelp);"
MaskPromptString "M-ary number:|Polarity:"
MaskStyleString "edit,popup(Positive|Negative)"
MaskTunableValueString "on,on"
MaskCallbackString "|"
MaskEnableString "on,on"
MaskVisibilityString "on,on"
MaskToolTipString "on,on"
MaskVariables "M=@1;polarity=&2;"
MaskInitialization "if strcmp(polarity, 'Negative')\n pole = "
"-1;\nelse\n pole = 1;\nend"
MaskDisplay "disp(' Complex \\nUnipolar to \\nBipolar');"
"\n"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "2|Negative"
MaskVariableAliases ","
System {
Name "Complex\nUnipolar to\nBipolar\n"
Location [134, 446, 810, 730]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "automatic"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [20, 48, 50, 62]
Port "1"
LatchInput off
Interpolate on
}
Block {
BlockType Constant
Name "Constant"
Position [205, 80, 235, 110]
NamePlacement "alternate"
ShowName off
Value "M-1"
VectorParams1D on
}
Block {
BlockType Gain
Name "Gain"
Position [125, 41, 165, 69]
Gain "2"
Multiplication "Element-wise(K.*u)"
SaturateOnIntegerOverflow off
}
Block {
BlockType Reference
Name "Inherit\nComplexity"
Ports [2, 1]
Position [480, 46, 565, 84]
ShowName off
SourceBlock "dspsigattribs/Inherit\nComplexity"
SourceType "Inherit Complexity"
}
Block {
BlockType Gain
Name "Polarity"
Position [415, 39, 460, 71]
Gain "pole"
Multiplication "Element-wise(K.*u)"
SaturateOnIntegerOverflow off
}
Block {
BlockType Probe
Name "Probe"
Ports [1, 1]
Position [110, 136, 220, 184]
ProbeWidth off
ProbeSampleTime off
ProbeComplexSignal on
ProbeSignalDimensions off
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [275, 106, 320, 139]
Inputs "2"
Multiplication "Element-wise(.*)"
SaturateOnIntegerOverflow on
}
Block {
BlockType RealImagToComplex
Name "Real-Imag to\nComplex"
Ports [2, 1]
Position [350, 88, 380, 117]
ShowName off
Input "RealAndImag"
ConstantPart "0"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [380, 45, 400, 65]
ShowName off
IconShape "round"
Inputs "|+-"
SaturateOnIntegerOverflow off
}
Block {
BlockType Outport
Name "Out1"
Position [600, 58, 630, 72]
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "Real-Imag to\nComplex"
SrcPort 1
Points [5, 0]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Constant"
SrcPort 1
Points [15, 0]
Branch {
DstBlock "Real-Imag to\nComplex"
DstPort 1
}
Branch {
Points [0, 20]
DstBlock "Product"
DstPort 1
}
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Polarity"
DstPort 1
}
Line {
SrcBlock "Polarity"
SrcPort 1
DstBlock "Inherit\nComplexity"
DstPort 1
}
Line {
SrcBlock "Gain"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
Points [15, 0]
Branch {
DstBlock "Gain"
DstPort 1
}
Branch {
Points [0, 105]
Branch {
DstBlock "Probe"
DstPort 1
}
Branch {
Points [0, 60; 395, 0]
DstBlock "Inherit\nComplexity"
DstPort 2
}
}
}
Line {
SrcBlock "Product"
SrcPort 1
Points [5, 0; 0, -15]
DstBlock "Real-Imag to\nComplex"
DstPort 2
}
Line {
SrcBlock "Probe"
SrcPort 1
Points [15, 0; 0, -30]
DstBlock "Product"
DstPort 2
}
Line {
SrcBlock "Inherit\nComplexity"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Complex \nBipolar to\nUnipolar"
Ports [1, 1]
Position [35, 175, 115, 215]
ShowPortLabels on
TreatAsAtomicUnit off
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
MaskType "Bipolar to Unipolar Converter"
MaskDescription "Convert a bipolar signal into a unipolar si"
"gnal in the range [0, M-1], where M is the M-ary number."
MaskHelp "helpview(commbhelp);"
MaskPromptString "M-ary number:|Polarity:"
MaskStyleString "edit,popup(Positive|Negative)"
MaskTunableValueString "on,on"
MaskCallbackString "|"
MaskEnableString "on,on"
MaskVisibilityString "on,on"
MaskToolTipString "on,on"
MaskVariables "M=@1;polarity=&2;"
MaskInitialization "if strcmp(polarity, 'Negative')\n pole = "
"-1;\nelse\n pole = 1;\nend"
MaskDisplay "disp('Bipolar to\\nUnipolar\\nConverter');"
"\n"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "2|Negative"
MaskVariableAliases ","
System {
Name "Complex \nBipolar to\nUnipolar"
Location [221, 298, 973, 537]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "automatic"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "In2"
Position [45, 23, 75, 37]
Port "1"
LatchInput off
Interpolate on
}
Block {
BlockType Constant
Name "Constant1"
Position [230, 55, 260, 85]
NamePlacement "alternate"
ShowName off
Value "M-1"
VectorParams1D on
}
Block {
BlockType Gain
Name "Gain1"
Position [440, 13, 485, 47]
Gain "0.5"
Multiplication "Element-wise(K.*u)"
SaturateOnIntegerOverflow off
}
Block {
BlockType Reference
Name "Inherit\nComplexity"
Ports [2, 1]
Position [535, 21, 620, 59]
ShowName off
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -