📄 wcdmaphlayer.mdl
字号:
TreatAsAtomicUnit on
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "Collect Data"
Location [478, 246, 934, 681]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "automatic"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "Bef Spread"
Position [30, 108, 60, 122]
Port "1"
LatchInput off
Interpolate on
}
Block {
BlockType Inport
Name "Before Pulse"
Position [40, 188, 70, 202]
Port "2"
LatchInput off
Interpolate on
}
Block {
BlockType Inport
Name "Channel"
Position [40, 258, 70, 272]
Port "3"
LatchInput off
Interpolate on
}
Block {
BlockType Inport
Name "Rx"
Position [40, 328, 70, 342]
Port "4"
LatchInput off
Interpolate on
}
Block {
BlockType EnablePort
Name "Enable"
Ports []
Position [145, 25, 165, 45]
StatesWhenEnabling "held"
ShowOutputPort off
}
Block {
BlockType Reference
Name "Before Pulse Shaping"
Ports [1]
Position [230, 170, 265, 220]
SourceBlock "dspsnks3/Spectrum\nScope"
SourceType "Spectrum Scope"
ScopeProperties "on"
Domain "Frequency"
HorizSpan "1"
UseBuffer "on"
BufferSize "256"
Overlap "0"
inpFftLenInherit "off"
FFTlength "128"
numAvg "20"
DisplayProperties "off"
AxisGrid "on"
Memory "off"
FrameNumber "off"
AxisLegend "off"
AxisZoom "off"
OpenScopeAtSimStart "on"
OpenScopeImmediately "off"
FigPos "[189 257 592 257]"
AxisProperties "off"
XUnits "Hertz"
XRange "[-Fs/2...Fs/2]"
InheritXIncr "on"
XIncr "1.0"
XLabel "Samples"
YUnits "dB"
YMin "-20"
YMax "20"
YLabel "Magnitude, dB"
LineProperties "off"
LineColors "[1 0 0]"
}
Block {
BlockType Reference
Name "Before Spreading \nSpectrum"
Ports [1]
Position [230, 90, 265, 140]
SourceBlock "dspsnks3/Spectrum\nScope"
SourceType "Spectrum Scope"
ScopeProperties "on"
Domain "Frequency"
HorizSpan "1"
UseBuffer "on"
BufferSize "64"
Overlap "0"
inpFftLenInherit "off"
FFTlength "128"
numAvg "2"
DisplayProperties "off"
AxisGrid "on"
Memory "off"
FrameNumber "off"
AxisLegend "off"
AxisZoom "off"
OpenScopeAtSimStart "on"
OpenScopeImmediately "off"
FigPos "[134 302 594 257]"
AxisProperties "off"
XUnits "Hertz"
XRange "[-Fs/2...Fs/2]"
InheritXIncr "on"
XIncr "1.0"
XLabel "Samples"
YUnits "Magnitude"
YMin "-20"
YMax "20"
YLabel "Magnitude, dB"
LineProperties "off"
LineColors "[1 0 0]"
}
Block {
BlockType Reference
Name "Rx Signal"
Ports [1]
Position [230, 310, 265, 360]
SourceBlock "dspsnks3/Spectrum\nScope"
SourceType "Spectrum Scope"
ScopeProperties "on"
Domain "Frequency"
HorizSpan "1"
UseBuffer "on"
BufferSize "2048"
Overlap "0"
inpFftLenInherit "off"
FFTlength "128"
numAvg "100"
DisplayProperties "off"
AxisGrid "on"
Memory "off"
FrameNumber "off"
AxisLegend "off"
AxisZoom "off"
OpenScopeAtSimStart "on"
OpenScopeImmediately "off"
FigPos "[305 139 608 260]"
AxisProperties "off"
XUnits "Hertz"
XRange "[-Fs/2...Fs/2]"
InheritXIncr "on"
XIncr "1.0"
XLabel "Samples"
YUnits "dB"
YMin "-20"
YMax "20"
YLabel "Magnitude, dB"
LineProperties "off"
LineColors "[1 0 0]"
}
Block {
BlockType Reference
Name "Tx Signal"
Ports [1]
Position [230, 240, 265, 290]
SourceBlock "dspsnks3/Spectrum\nScope"
SourceType "Spectrum Scope"
ScopeProperties "on"
Domain "Frequency"
HorizSpan "1"
UseBuffer "on"
BufferSize "2048"
Overlap "0"
inpFftLenInherit "off"
FFTlength "128"
numAvg "100"
DisplayProperties "off"
AxisGrid "on"
Memory "off"
FrameNumber "off"
AxisLegend "off"
AxisZoom "off"
OpenScopeAtSimStart "on"
OpenScopeImmediately "off"
FigPos "[246 200 598 257]"
AxisProperties "off"
XUnits "Hertz"
XRange "[-Fs/2...Fs/2]"
InheritXIncr "on"
XIncr "1.0"
XLabel "Samples"
YUnits "dB"
YMin "-50"
YMax "20"
YLabel "Magnitude, dB"
LineProperties "off"
LineColors "[1 0 0]"
}
Line {
SrcBlock "Rx"
SrcPort 1
DstBlock "Rx Signal"
DstPort 1
}
Line {
SrcBlock "Bef Spread"
SrcPort 1
DstBlock "Before Spreading \nSpectrum"
DstPort 1
}
Line {
SrcBlock "Before Pulse"
SrcPort 1
DstBlock "Before Pulse Shaping"
DstPort 1
}
Line {
SrcBlock "Channel"
SrcPort 1
DstBlock "Tx Signal"
DstPort 1
}
}
}
Block {
BlockType Reference
Name "Instrumentation\nSwitch"
Ports [0, 1]
Position [135, 55, 235, 75]
ShowName off
SourceBlock "dspsrcs3/DSP\nConstant"
SourceType "DSP Constant"
Value "InstrOn"
InterpretAs1D "off"
SampleMode "Discrete"
Ts "1/15e3"
FramebasedOutput "off"
}
Line {
SrcBlock "In6"
SrcPort 1
DstBlock "Collect Data"
DstPort 4
}
Line {
SrcBlock "In4"
SrcPort 1
DstBlock "Collect Data"
DstPort 3
}
Line {
SrcBlock "In3"
SrcPort 1
DstBlock "Collect Data"
DstPort 2
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Collect Data"
DstPort 1
}
Line {
SrcBlock "Instrumentation\nSwitch"
SrcPort 1
Points [20, 0]
DstBlock "Collect Data"
DstPort enable
}
}
}
Block {
BlockType SubSystem
Name "TimeScopes"
Ports [4]
Position [160, 492, 230, 568]
ShowName off
OpenFcn "temp=get_param(gcb,'On');set_param(gcb,'On', ge"
"t_param(gcb,'Off'));set_param(gcb,'Off', temp);"
ShowPortLabels on
TreatAsAtomicUnit on
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
MaskType "Instrumentation: Power Spectrum"
MaskPromptString "On|Off"
MaskStyleString "edit,edit"
MaskTunableValueString "on,on"
MaskCallbackString "|"
MaskEnableString "on,on"
MaskVisibilityString "on,on"
MaskToolTipString "on,on"
MaskVariables "On=&1;Off=&2;"
MaskInitialization "ssName=gcs;\nif strcmp(On,'on')\n [picture, ma"
"p]=imread('switch_on.jpg');\n set_param([ssName '/TimeScopes/Real Part'],'Op"
"en','on');\n set_param([ssName '/TimeScopes/Imag Part'],'Open','on');\n set"
"_param([ssName '/TimeScopes/Channel Estimates'],'Open','on');\nelse\n [pic"
"ture, map]=imread('switch_off.jpg');\n set_param([ssName '/TimeScopes/Real P"
"art'],'Open','off');\n set_param([ssName '/TimeScopes/Imag Part'],'Open','of"
"f');\n set_param([ssName '/TimeScopes/Channel Estimates'],'Open','off');\nen"
"d"
MaskDisplay "image(picture,'center')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "pixels"
MaskValueString "off|on"
MaskVariableAliases ","
System {
Name "TimeScopes"
Location [139, 235, 814, 611]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "automatic"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [45, 93, 75, 107]
Port "1"
LatchInput off
Interpolate on
}
Block {
BlockType Inport
Name "In2"
Position [40, 153, 70, 167]
Port "2"
LatchInput off
Interpolate on
}
Block {
BlockType Inport
Name "In3"
Position [40, 213, 70, 227]
Port "3"
LatchInput off
Interpolate on
}
Block {
BlockType Inport
Name "In5"
Position [45, 273, 75, 287]
Port "4"
LatchInput off
Interpolate on
}
Block {
BlockType Scope
Name "Channel Estimates"
Ports [2]
Position [305, 250, 345, 310]
Floating off
Location [246, 340, 1013, 736]
Open off
NumInputPorts "2"
TickLabels "OneTimeTick"
ZoomMode "on"
List {
ListType AxesTitles
axes1 "Output of Channel Estimator - Real Part"
axes2 "Output of Channel Estimator - Imag Part"
}
List {
ListType SelectedSignals
axes1 ""
axes2 ""
}
Grid "on"
TimeRange "0.1"
YMin "0.2~-0.025"
YMax "0.25~0.02"
SaveToWorkspace off
SaveName "ScopeData4"
DataFormat "Structure"
LimitDataPoints on
MaxDataPoints "5000"
Decimation "1"
SampleInput off
SampleTime "0"
}
Block {
BlockType SubSystem
Name "Collect Data"
Ports [4, 8, 1]
Position [150, 74, 250, 306]
ShowPortLabels on
TreatAsAtomicUnit on
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "Collect Data"
Location [179, 206, 665, 651]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "automatic"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "Bef Spread"
Position [30, 118, 60, 132]
Port "1"
LatchInput off
Interpolate on
}
Block {
BlockType Inport
Name "After Spread"
Position [30, 238, 60, 252]
Port "2"
LatchInput off
Interpolate on
}
Block {
BlockType Inport
Name "Before Pulse"
Position [50, 318, 80, 332]
Port "3"
LatchInput off
Interpolate on
}
Block {
BlockType Inport
Name "chEst"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -