📄 wcdmaphlayer.mdl
字号:
DstPort 2
}
Line {
SrcBlock "In3"
SrcPort 1
DstBlock "Collect Data"
DstPort 3
}
Line {
SrcBlock "In5"
SrcPort 1
DstBlock "Collect Data"
DstPort 4
}
Annotation {
Position [405, 108]
ForegroundColor "red"
Text "Plot Sequences\nReal Part"
}
Annotation {
Position [525, 198]
ForegroundColor "red"
Text "Plot Sequences\nImag Part"
}
Annotation {
Position [397, 278]
ForegroundColor "red"
Text "Plot\nCh Estimates"
}
}
}
Block {
BlockType Reference
Name "WCDMA BS Tx\nAntenna"
Ports [1, 1]
Position [605, 110, 745, 190]
SourceBlock "wcdmalib/Wcdma BS Transmitter/WCDMA BS Tx\nAnte"
"nna"
SourceType "WCDMA BS Tx Antenna"
slotFormat "slotFormat"
dpchCode "dpchCode"
scrCode "scrCode"
powerVector "powerVector"
numTapsRRC "numTapsRRC"
overSampling "overSampling"
checkParams off
Port {
PortNumber 1
Name "Tx Signal"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
}
}
Block {
BlockType SubSystem
Name "WCDMA Channel Models"
Ports [1, 1]
Position [823, 225, 967, 275]
Orientation "down"
NamePlacement "alternate"
ShowName off
LinkData {
BlockName "AWGN"
DialogParameters {
ShowPortLabels "off"
}
}
ShowPortLabels off
BlockChoice "Multipath+AWGN"
TemplateBlock "wcdmalib/WCDMA Channel Model/WCDMA Channel Mode"
"ls"
MemberBlocks "AWGN,Multipath+AWGN,No Channel"
TreatAsAtomicUnit off
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
Port {
PortNumber 1
Name "Rx Signal"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
}
System {
Name "WCDMA Channel Models"
Location [148, 182, 646, 482]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "ChIn"
Position [20, 40, 40, 60]
Port "1"
LatchInput off
Interpolate on
}
Block {
BlockType Reference
Name "Multipath+AWGN"
Ports [1, 1]
Position [100, 40, 140, 80]
SourceBlock "wcdmalib/WCDMA Channel Model/Multipath+AWGN"
SourceType ""
}
Block {
BlockType Outport
Name "ChOut"
Position [200, 40, 220, 60]
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "ChIn"
SrcPort 1
Points [20, 0; 0, 10]
DstBlock "Multipath+AWGN"
DstPort 1
}
Line {
SrcBlock "Multipath+AWGN"
SrcPort 1
Points [20, 0; 0, -10]
DstBlock "ChOut"
DstPort 1
}
}
}
Block {
BlockType Reference
Name "WCDMA Rx\nChannel Decoding Scheme"
Ports [1, 4]
Position [230, 309, 385, 391]
Orientation "left"
NamePlacement "alternate"
SourceBlock "wcdmalib/Wcdma Multiplexing\nand Channel Coding"
"/WCDMA Rx\nChannel Decoding Scheme"
SourceType "WCDMA DL Rx Channel Decoding Scheme"
trBlkSetSize "trBlkSetSize"
trBlkSize "trBlkSize"
tti "tti"
crcSize "crcSize"
errorCorr "errorCorr"
RMAttribute "RMAttribute"
posTrCh "posTrCh"
numPhCH "numPhCH"
slotFormat "slotFormat"
checkParams off
Port {
PortNumber 1
Name "dtch"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
}
Port {
PortNumber 2
Name "synd1"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
}
Port {
PortNumber 3
Name "dcch"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
}
Port {
PortNumber 4
Name "synd2"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
}
}
Block {
BlockType Reference
Name "WCDMA Rx\nPhCh Demapping"
Ports [1, 1]
Position [415, 307, 570, 393]
Orientation "left"
NamePlacement "alternate"
SourceBlock "wcdmalib/Wcdma Multiplexing\nand Channel Coding"
"/WCDMA Rx\nPhCh Demapping"
SourceType "WCDMA Rx Physical Channel Demapping"
numBitsRF "numBitsRF"
numPhCH "numPhCH"
slotFormat "slotFormat"
checkParams off
Port {
PortNumber 1
Name "cctrch"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
}
}
Block {
BlockType Reference
Name "WCDMA Tx\nPhCh Mapping"
Ports [1, 1]
Position [435, 110, 575, 190]
SourceBlock "wcdmalib/Wcdma Multiplexing\nand Channel Coding"
"/WCDMA Tx\nPhCh Mapping"
SourceType "WCDMA Tx Physical Channel Mapping"
numBitsRF "numBitsRF"
numPhCH "numPhCH"
slotFormat "slotFormat"
checkParams off
Port {
PortNumber 1
Name "dpch"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
}
}
Block {
BlockType Reference
Name "WCDMA Tx \nChannel Coding Scheme"
Ports [2, 1]
Position [265, 110, 405, 190]
SourceBlock "wcdmalib/Wcdma Multiplexing\nand Channel Coding"
"/WCDMA Tx \nChannel Coding Scheme"
SourceType "WCDMA DL Tx Channel Coding Scheme"
trBlkSetSize "trBlkSetSize"
trBlkSize "trBlkSize"
tti "tti"
crcSize "crcSize"
errorCorr "errorCorr"
RMAttribute "RMAttribute"
posTrCh "posTrCh"
numPhCH "numPhCH"
slotFormat "slotFormat"
checkParams off
Port {
PortNumber 1
Name "cctrch"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
}
}
Block {
BlockType Reference
Name "WCDMA UE Rx\nAntenna"
Ports [1, 1]
Position [595, 308, 750, 392]
Orientation "left"
NamePlacement "alternate"
SourceBlock "wcdmalib/Wcdma UE Receiver/WCDMA UE Rx\nAntenna"
SourceType "WCDMA UE Rx Antenna"
slotFormat "slotFormat"
dpchCode "dpchCode"
scrCode "scrCode"
powerVector "powerVector"
numTapsRRC "numTapsRRC"
overSampling "overSampling"
fingerEnables "fingerEnables"
fingerPhases "fingerPhases"
numTapsChEst "numTapsChEst"
checkParams off
Port {
PortNumber 1
Name "dpch"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
}
}
Block {
BlockType SubSystem
Name "aInitial Settings"
Ports []
Position [20, 220, 145, 287]
BackgroundColor "yellow"
DropShadow on
ShowName off
Priority "-250"
FontSize 12
ShowPortLabels on
TreatAsAtomicUnit off
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
MaskType "WCDMA Initial Settings Demo"
MaskDescription "Use the following mask to select the different "
"parameters for the simulation."
MaskPromptString "Power for [DPCH, P-CPICH, PICH, P-CCPCH, SCH] i"
"n dB:|----------------------------- Show Transport Channel Settings ---------"
"---------------------|DL Measurement channels|Transport block set size:|Trans"
"port block size:|TTI (in ms):|CRC Size {24, 16, 12, 8, 0}:|Type of error Prot"
"ection {None=0, Conv 1/2=1, Conv 1/3=2, Turbo=3}:|Rate matching attribute:|Po"
"sition of TrCH in radio frame:|Number of PhCH:|Slot format (0..16):|---------"
"-------------------- Show Antenna Settings ----------------------------------"
"-----|DPCH Code number (0..Spreading Factor -1):|Scrambling code [Scr Code Gr"
"up(0..63) Primary Code(0..7)]:|Number of filter taps for RRC:|Number of coeff"
"icients for channel estimation filters:|Oversampling factor:|----------------"
"------------- Show Channel Model Settings ----------------------------- |Prop"
"agation conditions environments:|SNR (in dB):|Number of enable fingers:|Relat"
"ive delay of Rx signals (in s):|Average Powers of Rx signals (in dB):|Speed o"
"f Terminal (in Km/h):"
MaskStyleString "edit,checkbox,popup(12.2 Kbps|64 Kbps|144 Kbps|"
"384 Kbps|User Defined),edit,edit,edit,edit,edit,edit,popup(Fixed|Flexible),po"
"pup(1|2|3),popup(0|1|2|3|4|5|6|7|8|9|10|11|12|13|14|15|16),checkbox,edit,edit"
",edit,edit,popup(2|4|6|8|10|12|14|16),checkbox,popup(No Channel|Static - AWGN"
"|Multipath Profile - Case 1|Multipath Profile - Case 2|Multipath Profile - Ca"
"se 3|Multipath Profile - Case 4|Multipath Profile - Case 5|Multipath Profile "
"- Case 6|User Defined),edit,popup(1|2|3|4),edit,edit,edit"
MaskTunableValueString "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on"
",on,on,on,on,on,on,on,on,on"
MaskCallbackString "|WcdmaPhLayerInitMask(gcb,'cbShowTrCh');|WcdmaP"
"hLayerInitMask(gcb,'cbMeasurChannel');||||||||||WcdmaPhLayerInitMask(gcb,'cbS"
"howAntenna');||||||WcdmaPhLayerInitMask(gcb,'cbShowChModel');|WcdmaPhLayerIni"
"tMask(gcb,'cbPropConditions');|||||"
MaskEnableString "on,on,off,off,off,off,off,off,off,off,off,off,o"
"n,off,off,off,off,off,on,off,on,off,off,off,off"
MaskVisibilityString "on,on,off,off,off,off,off,off,off,off,off,off,o"
"n,off,off,off,off,off,on,off,off,off,off,off,off"
MaskToolTipString "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on"
",on,on,on,on,on,on,on,on,on"
MaskVariables "powerVector=@1;showTrCh=@2;measurChannel=@3;trB"
"lkSetSize=@4;trBlkSize=@5;tti=@6;crcSize=@7;errorCorr=@8;RMAttribute=@9;posTr"
"ChMask=@10;numPhCH=@11;slotFormat=@12;showAntenna=@13;dpchCode=@14;scrCode=@1"
"5;numTapsRRC=@16;numTapsChEst=@17;overSampling=@18;showChModel=@19;propCondit"
"ions=@20;snrdB=@21;fingerEnables=@22;fingerPhases=@23;fingerPowers=@24;speed="
"@25;"
MaskInitialization "eStr = WcdmaPhLayerInitMask(gcb,'init');\nif(~i"
"sempty(eStr.emsg))\nerrordlg(eStr.emsg);\nend\nif(~isempty(eStr.emsg_w))\nwar"
"ndlg(eStr.emsg_w);\nend\n"
MaskDisplay "disp('WCDMA Demo:\\nInitial Settings');"
MaskSelfModifiable on
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "[-8.8 -10 -15 -12 -12]|off|12.2 Kbps|[244 100]|"
"[244 100]|[20 40]|[16 12]|[2 2]|[256 256]|Fixed|1|11|off|127|[63 0]|96|21|8|o"
"ff|Multipath Profile - Case 6|-3|4|[0 260e-9 521e-9 781e-9]|[0 -3 -6 -9]|250"
MaskVariableAliases ",,,,,,,,,,,,,,,,,,,,,,,,"
System {
Name "aInitial Settings"
Location [346, 75, 1287, 953]
Open off
ModelBrowserVisibility on
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
}
}
Block {
BlockType SubSystem
Name "background4"
Ports []
Position [25, 485, 245, 576]
BackgroundColor "yellow"
ShowName off
ShowPortLabels on
TreatAsAtomicUnit off
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
MaskDisplay "disp('')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "background4"
Location [209, 325, 575, 532]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
}
}
Block {
BlockType SubSystem
Name "background5"
Ports []
Position [275, 485, 496, 575]
BackgroundColor "yellow"
ShowName off
ShowPortLabels on
TreatAsAtomicUnit off
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
MaskDisplay "disp('')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "background5"
Location [209, 325, 575, 532]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
}
}
Block {
BlockType SubSystem
Name "zbackground1"
Ports []
Position [209, 75, 769, 232]
BackgroundColor "lightBlue"
ShowName off
Priority "0"
ShowPortLabels off
TreatAsAtomicUnit off
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
MaskDisplay
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -