📄 test_channel.mdl
字号:
FontSize 10
FontWeight "normal"
FontAngle "normal"
ShowName on
}
BlockParameterDefaults {
Block {
BlockType Concatenate
NumInputs "2"
}
Block {
BlockType Constant
}
Block {
BlockType FrameConversion
OutFrame "Frame based"
}
Block {
BlockType Gain
Gain "1"
Multiplication "Element-wise(K.*u)"
ParameterDataTypeMode "Same as input"
ParameterDataType "sfix(16)"
ParameterScalingMode "Best Precision: Matrix-wise"
ParameterScaling "2^0"
OutDataTypeMode "Same as input"
OutDataType "sfix(16)"
OutScaling "2^0"
LockScale off
RndMeth "Floor"
SaturateOnIntegerOverflow on
SampleTime "-1"
}
Block {
BlockType Inport
Port "1"
UseBusObject off
BusObject "BusObject"
BusOutputAsStruct off
PortDimensions "-1"
SampleTime "-1"
DataType "auto"
OutDataType "sfix(16)"
OutScaling "2^0"
SignalType "auto"
SamplingMode "auto"
LatchByDelayingOutsideSignal off
LatchByCopyingInsideSignal off
Interpolate on
}
Block {
BlockType Outport
Port "1"
UseBusObject off
BusObject "BusObject"
BusOutputAsStruct off
PortDimensions "-1"
SampleTime "-1"
DataType "auto"
OutDataType "sfix(16)"
OutScaling "2^0"
SignalType "auto"
SamplingMode "auto"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Block {
BlockType RealImagToComplex
Input "Real and imag"
ConstantPart "0"
SampleTime "-1"
}
Block {
BlockType RelationalOperator
Operator ">="
InputSameDT on
LogicOutDataTypeMode "Logical (see Configuration Parameters: Optimiza"
"tion)"
LogicDataType "uint(8)"
ZeroCross on
SampleTime "-1"
}
Block {
BlockType Reshape
OutputDimensionality "1-D array"
OutputDimensions "[1,1]"
}
Block {
BlockType Selector
IndexMode "One-based"
InputPortWidth "-1"
OutputPortSize "1"
}
Block {
BlockType "S-Function"
FunctionName "system"
SFunctionModules "''"
PortCounts "[]"
}
Block {
BlockType SubSystem
ShowPortLabels on
Permissions "ReadWrite"
PermitHierarchicalResolution "All"
TreatAsAtomicUnit off
SystemSampleTime "-1"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
SimViewingDevice off
DataTypeOverride "UseLocalSettings"
MinMaxOverflowLogging "UseLocalSettings"
}
Block {
BlockType Terminator
}
Block {
BlockType ToWorkspace
VariableName "simulink_output"
MaxDataPoints "1000"
Decimation "1"
SampleTime "0"
FixptAsFi off
}
}
AnnotationDefaults {
HorizontalAlignment "center"
VerticalAlignment "middle"
ForegroundColor "black"
BackgroundColor "white"
DropShadow off
FontName "Arial"
FontSize 10
FontWeight "normal"
FontAngle "normal"
}
LineDefaults {
FontName "Arial"
FontSize 9
FontWeight "normal"
FontAngle "normal"
}
System {
Name "test_channel"
Location [2, 82, 1014, 721]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
ReportName "simulink-default.rpt"
Block {
BlockType Reference
Name "Bernoulli Binary\nGenerator"
Ports [0, 1]
Position [15, 43, 95, 87]
ShowName off
DialogController "commDDGCreate"
DialogControllerArgs "DataTag0"
SourceBlock "commrandsrc2/Bernoulli Binary\nGenerator"
SourceType "Bernoulli Binary Generator"
ShowPortLabels on
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
P "0"
seed "61"
Ts "1e-4 / (1024)"
frameBased on
sampPerFrame "1024"
orient off
outDataType "double"
}
Block {
BlockType Reference
Name "Bernoulli Binary\nGenerator1"
Ports [0, 1]
Position [15, 103, 95, 147]
ShowName off
DialogController "commDDGCreate"
DialogControllerArgs "DataTag1"
SourceBlock "commrandsrc2/Bernoulli Binary\nGenerator"
SourceType "Bernoulli Binary Generator"
ShowPortLabels on
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
P "1"
seed "73"
Ts "1e-4 / (1024)"
frameBased on
sampPerFrame "1024"
orient off
outDataType "double"
}
Block {
BlockType Reference
Name "Bernoulli Binary\nGenerator2"
Ports [0, 1]
Position [15, 158, 95, 202]
ShowName off
DialogController "commDDGCreate"
DialogControllerArgs "DataTag2"
SourceBlock "commrandsrc2/Bernoulli Binary\nGenerator"
SourceType "Bernoulli Binary Generator"
ShowPortLabels on
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
P "0"
seed "61"
Ts "1e-4 / (1024)"
frameBased on
sampPerFrame "1024"
orient off
outDataType "double"
}
Block {
BlockType Reference
Name "Bernoulli Binary\nGenerator3"
Ports [0, 1]
Position [15, 218, 95, 262]
ShowName off
DialogController "commDDGCreate"
DialogControllerArgs "DataTag3"
SourceBlock "commrandsrc2/Bernoulli Binary\nGenerator"
SourceType "Bernoulli Binary Generator"
ShowPortLabels on
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
P "1"
seed "73"
Ts "1e-4 / (1024)"
frameBased on
sampPerFrame "1024"
orient off
outDataType "double"
}
Block {
BlockType Reference
Name "Bernoulli Binary\nGenerator4"
Ports [0, 1]
Position [15, 273, 95, 317]
ShowName off
DialogController "commDDGCreate"
DialogControllerArgs "DataTag4"
SourceBlock "commrandsrc2/Bernoulli Binary\nGenerator"
SourceType "Bernoulli Binary Generator"
ShowPortLabels on
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
P "0"
seed "61"
Ts "1e-4 / (1024)"
frameBased on
sampPerFrame "1024"
orient off
outDataType "double"
}
Block {
BlockType Reference
Name "Bernoulli Binary\nGenerator5"
Ports [0, 1]
Position [15, 328, 95, 372]
ShowName off
DialogController "commDDGCreate"
DialogControllerArgs "DataTag5"
SourceBlock "commrandsrc2/Bernoulli Binary\nGenerator"
SourceType "Bernoulli Binary Generator"
ShowPortLabels on
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
P "1"
seed "73"
Ts "1e-4 / (1024)"
frameBased on
sampPerFrame "1024"
orient off
outDataType "double"
}
Block {
BlockType Reference
Name "Bernoulli Binary\nGenerator6"
Ports [0, 1]
Position [15, 383, 95, 427]
ShowName off
DialogController "commDDGCreate"
DialogControllerArgs "DataTag6"
SourceBlock "commrandsrc2/Bernoulli Binary\nGenerator"
SourceType "Bernoulli Binary Generator"
ShowPortLabels on
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
P "0"
seed "61"
Ts "1e-4 / (1024)"
frameBased on
sampPerFrame "1024"
orient off
outDataType "double"
}
Block {
BlockType Reference
Name "Bernoulli Binary\nGenerator7"
Ports [0, 1]
Position [15, 443, 95, 487]
ShowName off
DialogController "commDDGCreate"
DialogControllerArgs "DataTag7"
SourceBlock "commrandsrc2/Bernoulli Binary\nGenerator"
SourceType "Bernoulli Binary Generator"
ShowPortLabels on
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
P "1"
seed "73"
Ts "1e-4 / (1024)"
frameBased on
sampPerFrame "1024"
orient off
outDataType "double"
}
Block {
BlockType Concatenate
Name "Matrix\nConcatenate"
Ports [4, 1]
Position [680, 196, 720, 314]
NumInputs "4"
Mode "Vertical matrix concatenation"
}
Block {
BlockType Reference
Name "Multipath Rayleigh\nFading Channel 1"
Ports [1, 1]
Position [360, 66, 455, 124]
SourceBlock "commchan3/Multipath Rayleigh\nFading Channel"
SourceType "Multipath Rayleigh Fading Channel"
ShowPortLabels on
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
maxDopplerShift "0.01"
pathDelays "[0, 0.2e-6, 0.6e-6, 1.6e-6, 2.4e-6, 5.0e-6]"
avgPathGaindB "[-3, 0, -2, -6, -8, -10]"
normalizePathGains on
seed "29"
enableProbe "0"
openVisAtStart off
outPathGains off
outDelay off
}
Block {
BlockType Reference
Name "Multipath Rayleigh\nFading Channel 2"
Ports [1, 1]
Position [365, 176, 460, 234]
SourceBlock "commchan3/Multipath Rayleigh\nFading Channel"
SourceType "Multipath Rayleigh Fading Channel"
ShowPortLabels on
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
maxDopplerShift "0.01"
pathDelays "[0, 0.2e-6, 0.6e-6, 1.6e-6, 2.4e-6, 5.0e-6]"
avgPathGaindB "[-3, 0, -2, -6, -8, -10]"
normalizePathGains on
seed "19"
enableProbe "0"
openVisAtStart off
outPathGains off
outDelay off
}
Block {
BlockType Reference
Name "Multipath Rayleigh\nFading Channel 3"
Ports [1, 1]
Position [365, 296, 460, 354]
SourceBlock "commchan3/Multipath Rayleigh\nFading Channel"
SourceType "Multipath Rayleigh Fading Channel"
ShowPortLabels on
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
maxDopplerShift "0.01"
pathDelays "[0, 0.2e-6, 0.6e-6, 1.6e-6, 2.4e-6, 5.0e-6]"
avgPathGaindB "[-3, 0, -2, -6, -8, -10]"
normalizePathGains on
seed "9"
enableProbe "0"
openVisAtStart off
outPathGains off
outDelay off
}
Block {
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -