📄 wcdmaphlayer3.mdl
字号:
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "Fd|0|0|simTs|delayVec|gainVecdB|off|See"
"d"
MaskTabNameString ",,,,,,,"
System {
Name "Multipath Fading\nChannel"
Location [267, 428, 793, 644]
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, 83, 55, 97]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Reference
Name "Combine Paths"
Ports [1, 1]
Position [330, 90, 395, 130]
DialogController "dspDDGCreate"
DialogControllerArgs "DataTag0"
SourceBlock "dspmtrx3/Matrix\nSum"
SourceType "Matrix Sum"
Dim "Rows"
additionalParams "off"
allowOverrides "on"
outputMode "Same as accumulator"
outputWordLength "16"
outputFracLength "15"
accumMode "Inherit via internal rule"
accumWordLength "32"
accumFracLength "30"
roundingMode "Floor"
overflowMode "off"
LockScale "off"
}
Block {
BlockType SubSystem
Name "Fading Profile"
Ports [0, 1]
Position [100, 111, 185, 139]
ShowName off
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskDisplay "disp('Fading\\nProfile')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "Fading Profile"
Location [543, 123, 1014, 328]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType SubSystem
Name "Rebuffer with \nInput Trigger"
Ports [1, 2]
Position [195, 58, 255, 127]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskType "Rebuffer with Input Trigger"
MaskDescription "This block inherits the input and"
" output port widths and complexity and the output sample time. The input mus"
"t be from a function call subsystem. The block generates a function call tri"
"gger on port 1 when ever data is required. and outputs the buffered input da"
"ta on port 2. "
MaskPromptString "Start delay:|Number of channels:|"
"Input width mode:|Input width (per channel):|Minimum input width (per channel"
"):|Input width step size (per channel):"
MaskStyleString "edit,edit,popup(Inherit|Specify|B"
"ased on output width),edit,edit,edit"
MaskTunableValueString "off,off,off,off,off,off"
MaskCallbackString "||commblktriggeredbuffer(gcb,'Inp"
"utWidthMode');|||"
MaskEnableString "on,on,on,off,on,on"
MaskVisibilityString "on,on,on,off,on,on"
MaskToolTipString "on,on,on,on,on,on"
MaskVarAliasString ",,,,,"
MaskVariables "startSample=@1;numChan=@2;inputWi"
"dthMode=@3;inputWidth=@4;inputWidthMin=@5;inputWidthStep=@6;"
MaskInitialization "s = commblktriggeredbuffer(gcb,'i"
"nit',{});\n"
MaskDisplay "disp('Rebuffer\\nwith trigger');"
"\nport_label('input',s.i1,s.i1s);\nport_label('output',s.o1,s.o1s);\nport_lab"
"el('output',s.o2,s.o2s);"
MaskSelfModifiable on
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "params.startDelay|params.nPaths|B"
"ased on output width|params.intFactor|params.intFactor|params.intFactor"
MaskTabNameString ",,,,,"
System {
Name "Rebuffer with \nInput Trigger"
Location [697, 400, 966, 524]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [30, 48, 60, 62]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType "S-Function"
Name "S-Function"
Ports [1, 2]
Position [100, 36, 170, 69]
FunctionName "scomtrigbuff2"
Parameters "startSample, numChan, inputWidthM"
"ode, inputWidth, inputWidthMin, inputWidthStep"
}
Block {
BlockType Outport
Name "Out1"
Position [205, 23, 235, 37]
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "Out2"
Position [205, 73, 235, 87]
Port "2"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "S-Function"
SrcPort 1
Points [15, 0]
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "S-Function"
SrcPort 2
Points [15, 0]
DstBlock "Out2"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "S-Function"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Rician Channel \nEffects"
Ports [1, 1]
Position [310, 87, 375, 133]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskType "Ricean Channel Effects"
MaskDescription "Add a complex phasor to the unity"
" variance complex input to produce Rician channel effects. The Doppler frequ"
"ency parameter determines frequency of the complex phasor."
MaskPromptString "Line-of-sight Doppler frequency ("
"Hz):|K-factor|Required output power (Watts):|Sample time (s):|Number of chann"
"els:"
MaskStyleString "edit,edit,edit,edit,edit"
MaskTunableValueString "on,on,on,on,on"
MaskCallbackString "||||"
MaskEnableString "on,on,on,on,on"
MaskVisibilityString "on,on,on,on,on"
MaskToolTipString "on,on,on,on,on"
MaskVarAliasString ",,,,"
MaskVariables "Doppler=@1;K=@2;opPower=@3;Ts=@4;"
"numChan=@5;"
MaskDisplay "disp('Rician\\nChannel')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "params.LOSFd|params.K|params.gain"
"VecLin|simTs|params.nPaths"
MaskTabNameString ",,,,"
System {
Name "Rician Channel \nEffects"
Location [712, 455, 1041, 608]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "In"
Position [45, 68, 75, 82]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType "S-Function"
Name "S-Function"
Ports [1, 1]
Position [120, 59, 200, 91]
FunctionName "scomricianlos2"
Parameters "Doppler,K,opPower,Ts,numChan"
}
Block {
BlockType Outport
Name "Out"
Position [250, 68, 280, 82]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "In"
SrcPort 1
DstBlock "S-Function"
DstPort 1
}
Line {
SrcBlock "S-Function"
SrcPort 1
DstBlock "Out"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Triggered Rayleigh Profile"
Ports [0, 1, 0, 1]
Position [50, 74, 150, 116]
TreatAsAtomicUnit on
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
System {
Name "Triggered Rayleigh Profile"
Location [-24, 247, 982, 497]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType TriggerPort
Name "Trigger"
Ports []
Position [470, 25, 490, 45]
TriggerType "function-call"
}
Block {
BlockType Constant
Name "Constant"
Position [160, 195, 180, 215]
Orientation "up"
NamePlacement "alternate"
ShowName off
Value "j"
}
Block {
BlockType Reference
Name "FIR Rate\nConversion"
Ports [1, 1]
Position [440, 116, 505, 154]
DialogController "dspDDGCreate"
DialogControllerArgs "DataTag1"
SourceBlock "dspmlti3/FIR Rate\nConversion"
SourceType "FIR Rate Conversion"
L "params.interp1"
h "params.rc1Num"
M "params.decim1"
additionalParams "off"
allowOverrides "on"
firstCoeffMode "Same word length as input"
firstCoeffWordLength "16"
firstCoeffFracLength "15"
outputMode "Same as accumulator"
outputWordLength "16"
outputFracLength "15"
accumMode "Inherit via internal rule"
accumWordLength "32"
accumFracLength "30"
prodOutputMode "Inherit via internal rule"
prodOutputWordLength "32"
prodOutputFracLength "30"
roundingMode "Floor"
overflowMode "off"
LockScale "off"
}
Block {
BlockType Reference
Name "FIR Rate\nConversion1"
Ports [1, 1]
Position [540, 116, 605, 154]
DialogController "dspDDGCreate"
DialogControllerArgs "DataTag2"
SourceBlock "dspmlti3/FIR Rate\nConversion"
SourceType "FIR Rate Conversion"
L "params.interp2"
h "params.rc2Num"
M "params.decim2"
additionalParams "off"
allowOverrides "on"
firstCoeffMode "Same word length as input"
firstCoeffWordLength "16"
firstCoeffFracLength "15"
outputMode "Same as accumulator"
outputWordLength "16"
outputFracLength "15"
accumMode "Inherit via internal rule"
accumWordLength "32"
accumFracLength "30"
prodOutputMode "Inherit via internal rule"
prodOutputWordLength "32"
prodOutputFracLength "30"
roundingMode "Floor"
overflowMode "off"
LockScale "off"
}
Block {
BlockType Reference
Name "FIR Rate\nConversion2"
Ports [1, 1]
Position [640, 116, 705, 154]
DialogController "dspDDGCreate"
DialogControllerArgs "DataTag3"
SourceBlock "dspmlti3/FIR Rate\nConversion"
SourceType "FIR Rate Conversion"
L "params.interp3"
h "params.rc3Num"
M "params.decim3"
additionalParams "off"
allowOverrides "on"
firstCoeffMode "Same word length as input"
firstCoeffWordLength "16"
firstCoeffFracLength "15"
outputMode "Same as accumulator"
outputWordLength "16"
outputFracLength "15"
accumMode "Inherit via internal rule"
accumWordLength "32"
accumFracLength "30"
prodOutputMode "Inherit via internal rule"
prodOutputWordLength "32"
prodOutputFracLength "30"
roundingMode "Floor"
overflowMode "off"
LockScale "off"
}
Block {
BlockType Reference
Name "FIR Rate\nConversion3"
Ports [1, 1]
Position [740, 116, 805, 154]
DialogController "dspDDGCreate"
DialogControllerArgs "DataTag4"
SourceBlock "dspmlti3/FIR Rate\nConversion"
SourceType "FIR Rate Conversion"
L "params.interp4"
h "params.rc4Num"
M "params.decim4"
additionalParams "off"
allowOverrides "on"
firstCoeffMode "Same word length as input"
firstCoeffWordLength "16"
firstCoeffFracLength "15"
outputMode "Same as accumulator"
outputWordLength "16"
outputFracLength "15"
accumMode "Inherit via internal rule"
accumWordLength "32"
accumFracLength "30"
prodOutputMode "Inherit via internal rule"
prodOutputWordLength "32"
prodOutputFracLength "30"
roundingMode "Floor"
overflowMode "off"
LockScale "off"
}
Block {
BlockType Reference
Name "FIR Rate\nConversion4"
Ports [1, 1]
Position [835, 116, 900, 154]
DialogController "dspDDGCreate"
DialogControllerArgs "DataTag5"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -