📄 ds_ss_rake.mdl
字号:
Branch {
Points [0, -30]
DstBlock "Gain3"
DstPort 1
}
Branch {
Points [0, 30]
DstBlock "Gain4"
DstPort 1
}
}
Line {
SrcBlock "Gain5"
SrcPort 1
DstBlock "Q Ch"
DstPort 1
}
Line {
SrcBlock "Gain"
SrcPort 1
DstBlock "I Ch"
DstPort 1
}
Line {
SrcBlock "Matrix Multiply"
SrcPort 1
DstBlock "Gain"
DstPort 1
}
Line {
SrcBlock "Matrix Multiply1"
SrcPort 1
DstBlock "Gain5"
DstPort 1
}
}
}
Block {
BlockType RealImagToComplex
Name "Real-Imag to\nComplex"
Ports [2, 1]
Position [140, 28, 170, 57]
Input "RealAndImag"
ConstantPart "0"
}
Block {
BlockType Outport
Name "Out1"
Position [215, 38, 245, 52]
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "Real-Imag to\nComplex"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "Rayliegh Fading"
SrcPort 1
DstBlock "Real-Imag to\nComplex"
DstPort 1
}
Line {
SrcBlock "Rayliegh Fading"
SrcPort 2
DstBlock "Real-Imag to\nComplex"
DstPort 2
}
}
}
Block {
BlockType Sum
Name "Sum"
Ports [1, 1]
Position [370, 45, 390, 65]
ShowName off
IconShape "rectangular"
Inputs "+"
SaturateOnIntegerOverflow on
}
Block {
BlockType Outport
Name "Out1"
Position [415, 48, 445, 62]
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Block {
BlockType Outport
Name "CIR"
Position [415, 113, 445, 127]
Port "2"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "Rayleigh Fading"
SrcPort 1
Points [205, 0]
Branch {
DstBlock "CIR"
DstPort 1
}
Branch {
DstBlock "Product1"
DstPort 2
}
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Product"
DstPort 1
}
Line {
SrcBlock "Product1"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "DSP\nConstant"
SrcPort 1
Points [0, -25]
DstBlock "Product"
DstPort 2
}
Line {
SrcBlock "Product"
SrcPort 1
DstBlock "Integer Delay1"
DstPort 1
}
Line {
SrcBlock "Integer Delay1"
SrcPort 1
DstBlock "Product1"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "SMF"
Ports [1, 1]
Position [225, 42, 285, 68]
ShowPortLabels on
TreatAsAtomicUnit off
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
MaskType "Symbol-matched filter for DS-SS"
MaskPromptString "Symbol time :|Chip time :"
MaskStyleString "edit,edit"
MaskTunableValueString "on,on"
MaskCallbackString "|"
MaskEnableString "on,on"
MaskVisibilityString "on,on"
MaskToolTipString "on,on"
MaskVariables "Tb=@1;Tc=@2;"
MaskDisplay "disp('Symbol-Matched\\nFilter')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "Tb|Tc"
MaskVariableAliases ","
System {
Name "SMF"
Location [63, 705, 550, 882]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "*In"
Position [15, 88, 45, 102]
Port "1"
LatchInput off
Interpolate on
}
Block {
BlockType ComplexToRealImag
Name "Complex to\nReal-Imag"
Ports [1, 2]
Position [125, 78, 155, 107]
ShowName off
Output "RealAndImag"
}
Block {
BlockType Gain
Name "Gain"
Position [70, 80, 100, 110]
ShowName off
Gain "1/Tb"
Multiplication "Element-wise(K.*u)"
SaturateOnIntegerOverflow on
}
Block {
BlockType Reference
Name "Integrate and Dump"
Ports [1, 1]
Position [180, 48, 260, 92]
ShowName off
SourceBlock "comminteg2/Integrate and Dump"
SourceType "Integrate and Dump"
limit "inf"
td "Tb"
ts "Tc"
}
Block {
BlockType Reference
Name "Integrate and Dump1"
Ports [1, 1]
Position [180, 98, 260, 142]
ShowName off
SourceBlock "comminteg2/Integrate and Dump"
SourceType "Integrate and Dump"
limit "inf"
td "Tb"
ts "Tc"
}
Block {
BlockType RealImagToComplex
Name "Real-Imag to\nComplex"
Ports [2, 1]
Position [350, 78, 380, 107]
ShowName off
Input "RealAndImag"
ConstantPart "0"
}
Block {
BlockType ZeroOrderHold
Name "Zero-Order\nHold"
Position [290, 55, 320, 85]
ShowName off
SampleTime "Tb"
}
Block {
BlockType ZeroOrderHold
Name "Zero-Order\nHold1"
Position [290, 105, 320, 135]
ShowName off
SampleTime "Tb"
}
Block {
BlockType Outport
Name "*Out"
Position [415, 88, 445, 102]
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "Complex to\nReal-Imag"
SrcPort 2
Points [5, 0]
DstBlock "Integrate and Dump1"
DstPort 1
}
Line {
SrcBlock "Real-Imag to\nComplex"
SrcPort 1
DstBlock "*Out"
DstPort 1
}
Line {
SrcBlock "Zero-Order\nHold1"
SrcPort 1
Points [10, 0]
DstBlock "Real-Imag to\nComplex"
DstPort 2
}
Line {
SrcBlock "Zero-Order\nHold"
SrcPort 1
Points [10, 0]
DstBlock "Real-Imag to\nComplex"
DstPort 1
}
Line {
SrcBlock "Integrate and Dump1"
SrcPort 1
DstBlock "Zero-Order\nHold1"
DstPort 1
}
Line {
SrcBlock "Complex to\nReal-Imag"
SrcPort 1
Points [5, 0]
DstBlock "Integrate and Dump"
DstPort 1
}
Line {
SrcBlock "Integrate and Dump"
SrcPort 1
DstBlock "Zero-Order\nHold"
DstPort 1
}
Line {
SrcBlock "Gain"
SrcPort 1
DstBlock "Complex to\nReal-Imag"
DstPort 1
}
Line {
SrcBlock "*In"
SrcPort 1
DstBlock "Gain"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Stop Control"
Ports [1]
Position [15, 189, 120, 231]
Orientation "left"
NamePlacement "alternate"
ShowPortLabels on
TreatAsAtomicUnit off
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
MaskType "Stop Control for BER Simulations"
MaskPromptString "Maximum number of samples :|Minimum number of e"
"rrors :|Minimum number of samples :|Sample time (Tsam) :"
MaskStyleString "edit,edit,edit,edit"
MaskTunableValueString "on,on,on,on"
MaskCallbackString "|||"
MaskEnableString "on,on,on,on"
MaskVisibilityString "on,on,on,on"
MaskToolTipString "on,on,on,on"
MaskVariables "MaxSamples=@1;MinErrors=@2;MinSamples=@3;Tsam=@"
"4;"
MaskDisplay "disp(['Simulation Stop\\nControl']);"
MaskIconFrame on
MaskIconOpaque off
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "1e7|200|5e5|Tb/2"
MaskVariableAliases ",,,"
System {
Name "Stop Control"
Location [384, 590, 923, 663]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "automatic"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [30, 43, 60, 57]
Port "1"
LatchInput off
Interpolate on
}
Block {
BlockType Constant
Name "Constant"
Position [25, 83, 100, 107]
ShowName off
Value "MinSamples"
VectorParams1D on
}
Block {
BlockType Constant
Name "Constant1"
Position [25, 113, 100, 137]
ShowName off
Value "MinErrors"
VectorParams1D on
}
Block {
BlockType Constant
Name "Constant2"
Position [25, 143, 100, 167]
ShowName off
Value "MaxSamples"
VectorParams1D on
}
Block {
BlockType Demux
Name "Demux"
Ports [1, 3]
Position [85, 31, 90, 69]
BackgroundColor "black"
ShowName off
Outputs "3"
BusSelectionMode off
}
Block {
BlockType Logic
Name "Logical\nOperator"
Ports [2, 1]
Position [440, 127, 470, 158]
ShowName off
Operator "OR"
Inputs "2"
}
Block {
BlockType Logic
Name "Logical\nOperator1"
Ports [2, 1]
Position [305, 82, 335, 113]
ShowName off
Operator "AND"
Inputs "2"
}
Block {
BlockType RelationalOperator
Name "Relational\nOperator"
Position [380, 132, 410, 163]
ShowName off
Operator ">"
}
Block {
BlockType RelationalOperator
Name "Relational\nOperator1"
Position [200, 102, 230, 133]
ShowName off
Operator ">"
}
Block {
BlockType RelationalOperator
Name "Relational\nOperator2"
Position [250, 72, 280, 103]
ShowName off
Operator ">"
}
Block {
BlockType Stop
Name "Stop Simulation"
Position [495, 127, 530, 163]
}
Block {
BlockType Terminator
Name "Terminator"
Position [200, 30, 220, 50]
NamePlacement "alternate"
ShowName off
}
Block {
BlockType ZeroOrderHold
Name "upsampling4"
Position [120, 144, 145, 166]
NamePlacement "alternate"
ShowName off
SampleTime "Tsam"
}
Block {
BlockType ZeroOrderHold
Name "upsampling5"
Position [120, 114, 145, 136]
NamePlacement "alternate"
ShowName off
SampleTime "Tsam"
}
Block {
BlockType ZeroOrderHold
Name "upsampling6"
Position [120, 84, 145, 106]
NamePlacement "alternate"
ShowName off
SampleTime "Tsam"
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Demux"
DstPort 1
}
Line {
SrcBlock "Relational\nOperator"
SrcPort 1
DstBlock "Logical\nOperator"
DstPort 2
}
Line {
SrcBlock "Demux"
SrcPort 2
Points [85, 0; 0, 60]
DstBlock "Relational\nOperator1"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 3
Points [130, 0]
Branch {
Points [135, 0; 0, 80]
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -