📄 hiperlan2.mdl
字号:
Model {
Name "hiperlan2"
Version 4.00
SampleTimeColors off
LibraryLinkDisplay "none"
WideLines on
ShowLineDimensions on
ShowPortDataTypes off
ShowStorageClass off
RecordCoverage off
CovPath "/"
CovSaveName "covdata"
CovMetricSettings "dw"
CovNameIncrementing off
CovHtmlReporting on
BlockNameDataTip off
BlockParametersDataTip off
BlockDescriptionStringDataTip off
ToolBar on
StatusBar on
BrowserShowLibraryLinks on
BrowserLookUnderMasks on
Created "Thu Sep 20 10:13:02 2001"
UpdateHistory "UpdateHistoryNever"
ModifiedByFormat "%<Auto>"
LastModifiedBy "cthorpe"
ModifiedDateFormat "%<Auto>"
LastModifiedDate "Thu Sep 20 10:37:33 2001"
ModelVersionFormat "1.%<AutoIncrement:5>"
ConfigurationManager "None"
SimParamPage "WorkspaceI/O"
StartTime "0.0"
StopTime "inf"
SolverMode "Auto"
Solver "FixedStepDiscrete"
RelTol "1e-3"
AbsTol "auto"
Refine "1"
MaxStep "auto"
MinStep "auto"
MaxNumMinSteps "-1"
InitialStep "auto"
FixedStep "auto"
MaxOrder 5
OutputOption "RefineOutputTimes"
OutputTimes "[]"
LoadExternalInput off
ExternalInput "[t, u]"
SaveTime off
TimeSaveName "tout"
SaveState off
StateSaveName "xout"
SaveOutput off
OutputSaveName "yout"
LoadInitialState off
InitialState "xInitial"
SaveFinalState off
FinalStateName "xFinal"
SaveFormat "Array"
LimitDataPoints on
MaxDataPoints "1000"
Decimation "1"
AlgebraicLoopMsg "warning"
MinStepSizeMsg "warning"
UnconnectedInputMsg "warning"
UnconnectedOutputMsg "warning"
UnconnectedLineMsg "warning"
InheritedTsInSrcMsg "warning"
SingleTaskRateTransMsg "none"
MultiTaskRateTransMsg "error"
IntegerOverflowMsg "warning"
CheckForMatrixSingularity "none"
UnnecessaryDatatypeConvMsg "none"
Int32ToFloatConvMsg "warning"
SignalLabelMismatchMsg "none"
LinearizationMsg "none"
VectorMatrixConversionMsg "none"
SfunCompatibilityCheckMsg "none"
BlockPriorityViolationMsg "warning"
ArrayBoundsChecking "none"
ConsistencyChecking "none"
ZeroCross on
Profile off
SimulationMode "normal"
RTWSystemTargetFile "grt.tlc"
RTWInlineParameters off
RTWRetainRTWFile off
RTWTemplateMakefile "grt_default_tmf"
RTWMakeCommand "make_rtw"
RTWGenerateCodeOnly off
TLCProfiler off
TLCDebug off
TLCCoverage off
AccelSystemTargetFile "accel.tlc"
AccelTemplateMakefile "accel_default_tmf"
AccelMakeCommand "make_rtw"
TryForcingSFcnDF off
ExtModeMexFile "ext_comm"
ExtModeBatchMode off
ExtModeTrigType "manual"
ExtModeTrigMode "normal"
ExtModeTrigPort "1"
ExtModeTrigElement "any"
ExtModeTrigDuration 1000
ExtModeTrigHoldOff 0
ExtModeTrigDelay 0
ExtModeTrigDirection "rising"
ExtModeTrigLevel 0
ExtModeArchiveMode "off"
ExtModeAutoIncOneShot off
ExtModeIncDirWhenArm off
ExtModeAddSuffixToVar off
ExtModeWriteAllDataToWs off
ExtModeArmWhenConnect on
ExtModeSkipDownloadWhenConnect off
ExtModeLogAll on
ExtModeAutoUpdateStatusClock on
OptimizeBlockIOStorage on
BufferReuse on
ParameterPooling on
BlockReductionOpt on
RTWExpressionDepthLimit 5
BooleanDataType off
BlockDefaults {
Orientation "right"
ForegroundColor "black"
BackgroundColor "white"
DropShadow off
NamePlacement "normal"
FontName "Helvetica"
FontSize 10
FontWeight "normal"
FontAngle "normal"
ShowName on
}
AnnotationDefaults {
HorizontalAlignment "center"
VerticalAlignment "middle"
ForegroundColor "black"
BackgroundColor "white"
DropShadow off
FontName "Helvetica"
FontSize 10
FontWeight "normal"
FontAngle "normal"
}
LineDefaults {
FontName "Helvetica"
FontSize 9
FontWeight "normal"
FontAngle "normal"
}
System {
Name "hiperlan2"
Location [158, 786, 1150, 1315]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "[0.960784, 0.960784, 0.980392, 1.000000]"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
ReportName "simulink-default.rpt"
Block {
BlockType Reference
Name "AWGN\nChannel"
Ports [1, 1]
Position [875, 230, 955, 270]
Orientation "down"
NamePlacement "alternate"
ShowName off
SourceBlock "commchan2/AWGN\nChannel"
SourceType "AWGN Channel"
seed "1"
noiseMode "Signal to noise ratio (SNR)"
EsNodB "40"
SNRdB "25"
Ps "0.01"
Tsym "4e-6/80"
variance "1"
}
Block {
BlockType Reference
Name "Bernoulli Random\nBinary Generator"
Ports [0, 1]
Position [35, 113, 115, 157]
FontSize 10
SourceBlock "commsource2/Bernoulli Random\nBinary Generator"
SourceType "Bernoulli Random Binary Generator"
P "0.5"
seed "20394875"
Ts "4e-6/144"
frameBased on
sampPerFrame "144"
orient off
}
Block {
BlockType Reference
Name "Convolutional\nEncoder"
Ports [1, 1]
Position [155, 106, 240, 164]
SourceBlock "commcnvcod2/Convolutional\nEncoder"
SourceType "Convolutional Encoder"
trellis "poly2trellis(7, [133 171])"
reset "None"
}
Block {
BlockType SubSystem
Name "Denormalise"
Ports [1, 1]
Position [735, 358, 770, 382]
Orientation "left"
ShowPortLabels on
TreatAsAtomicUnit off
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
System {
Name "Denormalise"
Location [550, 726, 1015, 832]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "automatic"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name " "
Position [25, 38, 55, 52]
Port "1"
LatchInput off
Interpolate on
}
Block {
BlockType Gain
Name "Gain1"
Position [150, 30, 180, 60]
ShowName off
Gain "sqrt(10)"
Multiplication "Element-wise(K.*u)"
SaturateOnIntegerOverflow on
}
Block {
BlockType Math
Name "Math\nFunction"
Ports [1, 1]
Position [80, 30, 110, 60]
ShowName off
Operator "conj"
OutputSignalType "auto"
}
Block {
BlockType Outport
Name " "
Position [225, 38, 255, 52]
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock " "
SrcPort 1
DstBlock "Math\nFunction"
DstPort 1
}
Line {
SrcBlock "Math\nFunction"
SrcPort 1
DstBlock "Gain1"
DstPort 1
}
Line {
SrcBlock "Gain1"
SrcPort 1
DstBlock " "
DstPort 1
}
}
}
Block {
BlockType Reference
Name "Discrete-Time\nEye and Scatter\nDiagrams"
Ports [1]
Position [655, 220, 740, 270]
Orientation "left"
SourceBlock "commsink2/Discrete-Time\nEye and Scatter\nDiagr"
"ams"
SourceType "Discrete-Time Eye and Scatter Diagrams"
time_range "4e-6/48"
time_offset "0"
time_decision "0"
boundary "[-2 2]"
kept_length "5"
diagram_type "Scatter Diagram"
eye_line "b-/r-"
scatter_line "b."
sample_time "4e-6/48"
}
Block {
BlockType Display
Name "Display"
Ports [1]
Position [300, 214, 385, 276]
ShowName off
Format "short"
Decimation "1"
Floating off
SampleTime "-1"
}
Block {
BlockType Reference
Name "Error Rate Calculation"
Ports [2, 1]
Position [195, 217, 280, 268]
ShowName off
SourceBlock "commsink2/Error Rate Calculation"
SourceType "Error Rate Calculation"
N "34"
st_delay "0"
cp_mode "Entire frame"
subframe "[]"
PMode "Port"
WsName "ErrorVec"
RsMode2 off
stop off
numErr "100"
maxBits "1e6"
}
Block {
BlockType Reference
Name "General Block\nDeinterleaver"
Ports [1, 1]
Position [535, 343, 615, 397]
Orientation "left"
FontSize 10
SourceBlock "commblkintrlv2/General Block\nDeinterleaver"
SourceType "General Block Deinterleaver"
elements "[ 2*floor( [0:191]/2 ) + mod( ([0:191] + 192 - "
"floor( 16*[0:191]/192 ) ) ,2 ) + 1]'"
}
Block {
BlockType Reference
Name "General Block\nInterleaver"
Ports [1, 1]
Position [535, 108, 615, 162]
FontSize 10
SourceBlock "commblkintrlv2/General Block\nInterleaver"
SourceType "General Block Interleaver"
elements "[ 2*floor( [0:191]/2 ) + mod( ([0:191] + 192 - "
"floor( 16*[0:191]/192 ) ) ,2 ) + 1]'"
}
Block {
BlockType Reference
Name "Insert Zero"
Ports [1, 1]
Position [260, 348, 340, 392]
Orientation "left"
SourceBlock "commsequence2/Insert Zero"
SourceType "Insert Zero"
insertZeroVector "[1 1 0 1 0 1]'"
}
Block {
BlockType Reference
Name "Matrix\nDeinterleaver"
Ports [1, 1]
Position [435, 343, 515, 397]
Orientation "left"
FontSize 10
SourceBlock "commblkintrlv2/Matrix\nDeinterleaver"
SourceType "Matrix Deinterleaver"
Nrows "16"
Ncols "12"
}
Block {
BlockType Reference
Name "Matrix\nInterleaver"
Ports [1, 1]
Position [435, 108, 515, 162]
FontSize 10
SourceBlock "commblkintrlv2/Matrix\nInterleaver"
SourceType "Matrix Interleaver"
Nrows "16"
Ncols "12"
}
Block {
BlockType SubSystem
Name "Normalise"
Ports [1, 1]
Position [735, 123, 770, 147]
ShowPortLabels on
TreatAsAtomicUnit off
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
System {
Name "Normalise"
Location [157, 81, 1296, 603]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "automatic"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name " "
Position [25, 38, 55, 52]
Port "1"
LatchInput off
Interpolate on
}
Block {
BlockType Gain
Name "Gain1"
Position [180, 30, 210, 60]
ShowName off
Gain "1/sqrt(10)"
Multiplication "Element-wise(K.*u)"
SaturateOnIntegerOverflow on
}
Block {
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -