📄 lhw_sttc_o2s4.mdl
字号:
PropName "Components"
}
Name "Configuration"
SimulationMode "normal"
CurrentDlgPage "Solver"
}
PropName "ConfigurationSets"
}
Simulink.ConfigSet {
$PropName "ActiveConfigurationSet"
$ObjectID 1
}
BlockDefaults {
Orientation "right"
ForegroundColor "black"
BackgroundColor "white"
DropShadow off
NamePlacement "normal"
FontName "Arial"
FontSize 12
FontWeight "normal"
FontAngle "normal"
ShowName on
}
BlockParameterDefaults {
Block {
BlockType Constant
Value "1"
VectorParams1D on
OutDataTypeMode "Inherit from 'Constant value'"
OutDataType "sfix(16)"
ConRadixGroup "Use specified scaling"
OutScaling "2^0"
SampleTime "inf"
}
Block {
BlockType Display
Format "short"
Decimation "10"
Floating off
SampleTime "-1"
}
Block {
BlockType Ground
}
Block {
BlockType Inport
BusObject "BusObject"
BusOutputAsStruct off
PortDimensions "-1"
SampleTime "-1"
DataType "auto"
OutDataType "sfix(16)"
OutScaling "2^0"
SignalType "auto"
SamplingMode "auto"
Interpolate on
}
Block {
BlockType Math
Operator "exp"
OutputSignalType "auto"
SampleTime "-1"
OutDataTypeMode "Same as first input"
OutDataType "sfix(16)"
OutScaling "2^0"
LockScale off
RndMeth "Floor"
SaturateOnIntegerOverflow on
}
Block {
BlockType Outport
Port "1"
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 Product
Inputs "2"
Multiplication "Element-wise(.*)"
InputSameDT on
OutDataTypeMode "Same as first input"
OutDataType "sfix(16)"
OutScaling "2^0"
LockScale off
RndMeth "Zero"
SaturateOnIntegerOverflow on
SampleTime "-1"
}
Block {
BlockType RateTransition
Integrity on
Deterministic on
X0 "0"
OutPortSampleTime "-1"
}
Block {
BlockType Reference
}
Block {
BlockType "S-Function"
FunctionName "system"
SFunctionModules "''"
PortCounts "[]"
}
Block {
BlockType SubSystem
ShowPortLabels on
Permissions "ReadWrite"
PermitHierarchicalResolution "All"
SystemSampleTime "-1"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
SimViewingDevice off
DataTypeOverride "UseLocalSettings"
MinMaxOverflowLogging "UseLocalSettings"
}
Block {
BlockType Sum
IconShape "rectangular"
Inputs "++"
InputSameDT on
OutDataTypeMode "Same as first input"
OutDataType "sfix(16)"
OutScaling "2^0"
LockScale off
RndMeth "Floor"
SaturateOnIntegerOverflow on
SampleTime "-1"
}
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 "lhw_STTC_O2s4"
Location [2, 74, 1014, 724]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
ReportName "simulink-default.rpt"
Block {
BlockType Reference
Name "AWGN\nChannel"
Ports [1, 1]
Position [580, 91, 635, 119]
FontSize 10
SourceBlock "commchan2/AWGN\nChannel"
SourceType "AWGN Channel"
ShowPortLabels on
seed "67"
noiseMode "Signal to noise ratio (SNR)"
EbNodB "10"
EsNodB "10"
SNRdB "snr"
bitsPerSym "1"
Ps "1"
Tsym "1"
variance "1"
}
Block {
BlockType Reference
Name "Buffer"
Ports [1, 1]
Position [670, 90, 715, 120]
FontSize 10
SourceBlock "dspbuff3/Buffer"
SourceType "Buffer"
N "130"
V "0"
ic "0"
}
Block {
BlockType Reference
Name "Buffer1"
Ports [1, 1]
Position [665, 175, 710, 205]
FontSize 10
SourceBlock "dspbuff3/Buffer"
SourceType "Buffer"
N "130"
V "0"
ic "0"
}
Block {
BlockType Reference
Name "Buffer2"
Ports [1, 1]
Position [665, 220, 710, 250]
FontSize 10
SourceBlock "dspbuff3/Buffer"
SourceType "Buffer"
N "130"
V "0"
ic "0"
}
Block {
BlockType Reference
Name "Buffer3"
Ports [1, 1]
Position [115, 270, 160, 300]
FontSize 10
SourceBlock "dspbuff3/Buffer"
SourceType "Buffer"
N "130"
V "0"
ic "0"
}
Block {
BlockType SubSystem
Name "Channel Coefficients"
Ports [0, 1]
Position [315, 181, 385, 219]
BackgroundColor "lightBlue"
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskPromptString "input sigma for rayleigh|input sample time for "
"rayleigh|input sample time for output"
MaskStyleString "edit,edit,edit"
MaskTunableValueString "on,on,on"
MaskCallbackString "||"
MaskEnableString "on,on,on"
MaskVisibilityString "on,on,on"
MaskToolTipString "on,on,on"
MaskVarAliasString ",,"
MaskVariables "my_sigma=@1;my_sample_time=@2;output_sample_tim"
"e=@3;"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "sqrt(1/4)|130e-5|1e-5"
MaskTabNameString ",,"
System {
Name "Channel Coefficients"
Location [2, 74, 1014, 724]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType RateTransition
Name "Copy"
Position [80, 51, 110, 79]
FontSize 10
Integrity off
OutPortSampleTime "output_sample_time"
}
Block {
BlockType RateTransition
Name "Copy1"
Position [80, 91, 110, 119]
FontSize 10
Integrity off
OutPortSampleTime "output_sample_time"
}
Block {
BlockType Reference
Name "Matrix\nConcatenation1"
Ports [2, 1]
Position [140, 46, 190, 124]
FontSize 10
SourceBlock "simulink/Math\nOperations/Matrix\nConcatena"
"tion"
SourceType "Matrix Concatenation"
numInports "2"
catMethod "Horizontal"
}
Block {
BlockType SubSystem
Name "h1"
Ports [0, 1]
Position [25, 54, 45, 76]
BackgroundColor "lightBlue"
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
System {
Name "h1"
Location [189, 286, 669, 523]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Reference
Name "Complex\nExponential"
Ports [1, 1]
Position [150, 107, 200, 143]
SourceBlock "dspmathops/Complex\nExponential"
SourceType "Complex Exponential"
ShowPortLabels "on"
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [270, 62, 300, 93]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Reference
Name "Rayleigh Noise\nGenerator"
Ports [0, 1]
Position [125, 28, 205, 72]
FontSize 10
SourceBlock "commnoisgen2/Rayleigh Noise\nGenerator"
SourceType "Rayleigh Noise Generator"
ShowPortLabels "on"
alpha "my_sigma"
seed "15761"
Ts "my_sample_time"
frameBased "off"
sampPerFrame "1"
orient "off"
}
Block {
BlockType Reference
Name "Uniform Noise\nGenerator"
Ports [0, 1]
Position [25, 103, 105, 147]
FontSize 10
SourceBlock "commnoisgen2/Uniform Noise\nGenerator"
SourceType "Uniform Noise Generator"
ShowPortLabels "on"
low "0"
up "2*pi"
seed "23813"
Ts "my_sample_time"
frameBased "off"
sampPerFrame "1"
orient "off"
}
Block {
BlockType Outport
Name "h1"
Position [325, 73, 355, 87]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Uniform Noise\nGenerator"
SrcPort 1
DstBlock "Complex\nExponential"
DstPort 1
}
Line {
SrcBlock "Rayleigh Noise\nGenerator"
SrcPort 1
Points [20, 0; 0, 20]
DstBlock "Product"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -