?? ch7example17.mdl
字號:
Model {
Name "ch7example17"
Version 5.0
SaveDefaultBlockParams on
SampleTimeColors off
LibraryLinkDisplay "none"
WideLines off
ShowLineDimensions off
ShowPortDataTypes off
ShowLoopsOnError on
IgnoreBidirectionalLines off
ShowStorageClass off
ExecutionOrder off
RecordCoverage off
CovPath "/"
CovSaveName "covdata"
CovMetricSettings "dw"
CovNameIncrementing off
CovHtmlReporting on
covSaveCumulativeToWorkspaceVar on
CovSaveSingleToWorkspaceVar on
CovCumulativeVarName "covCumulativeData"
CovCumulativeReport off
DataTypeOverride "UseLocalSettings"
MinMaxOverflowLogging "UseLocalSettings"
MinMaxOverflowArchiveMode "Overwrite"
BlockNameDataTip off
BlockParametersDataTip off
BlockDescriptionStringDataTip off
ToolBar on
StatusBar on
BrowserShowLibraryLinks off
BrowserLookUnderMasks off
Created "Sat Sep 01 20:16:30 2007"
UpdateHistory "UpdateHistoryNever"
ModifiedByFormat "%<Auto>"
LastModifiedBy "shaoyubin"
ModifiedDateFormat "%<Auto>"
LastModifiedDate "Sun Sep 02 08:16:22 2007"
ModelVersionFormat "1.%<AutoIncrement:6>"
ConfigurationManager "None"
SimParamPage "Solver"
LinearizationMsg "none"
Profile off
ParamWorkspaceSource "MATLABWorkspace"
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
BufferReuse on
RTWExpressionDepthLimit 5
SimulationMode "normal"
Solver "ode45"
SolverMode "Auto"
StartTime "0.0"
StopTime "inf"
MaxOrder 5
MaxStep "auto"
MinStep "auto"
MaxNumMinSteps "-1"
InitialStep "auto"
FixedStep "auto"
RelTol "1e-3"
AbsTol "auto"
OutputOption "RefineOutputTimes"
OutputTimes "[]"
Refine "1"
LoadExternalInput off
ExternalInput "[t, u]"
LoadInitialState off
InitialState "xInitial"
SaveTime on
TimeSaveName "tout"
SaveState off
StateSaveName "xout"
SaveOutput on
OutputSaveName "yout"
SaveFinalState off
FinalStateName "xFinal"
SaveFormat "Array"
Decimation "1"
LimitDataPoints on
MaxDataPoints "1000"
SignalLoggingName "sigsOut"
ConsistencyChecking "none"
ArrayBoundsChecking "none"
AlgebraicLoopMsg "warning"
BlockPriorityViolationMsg "warning"
MinStepSizeMsg "warning"
InheritedTsInSrcMsg "warning"
DiscreteInheritContinuousMsg "warning"
MultiTaskRateTransMsg "error"
SingleTaskRateTransMsg "none"
CheckForMatrixSingularity "none"
IntegerOverflowMsg "warning"
Int32ToFloatConvMsg "warning"
ParameterDowncastMsg "error"
ParameterOverflowMsg "error"
ParameterPrecisionLossMsg "warning"
UnderSpecifiedDataTypeMsg "none"
UnnecessaryDatatypeConvMsg "none"
VectorMatrixConversionMsg "none"
InvalidFcnCallConnMsg "error"
SignalLabelMismatchMsg "none"
UnconnectedInputMsg "warning"
UnconnectedOutputMsg "warning"
UnconnectedLineMsg "warning"
SfunCompatibilityCheckMsg "none"
RTWInlineParameters off
BlockReductionOpt on
BooleanDataType on
ConditionallyExecuteInputs on
ParameterPooling on
OptimizeBlockIOStorage on
ZeroCross on
AssertionControl "UseLocalSettings"
ProdHWDeviceType "Microprocessor"
ProdHWWordLengths "8,16,32,32"
RTWSystemTargetFile "grt.tlc"
RTWTemplateMakefile "grt_default_tmf"
RTWMakeCommand "make_rtw"
RTWGenerateCodeOnly off
RTWRetainRTWFile off
TLCProfiler off
TLCDebug off
TLCCoverage off
TLCAssertion off
BlockDefaults {
Orientation "right"
ForegroundColor "black"
BackgroundColor "white"
DropShadow off
NamePlacement "normal"
FontName "Helvetica"
FontSize 10
FontWeight "normal"
FontAngle "normal"
ShowName on
}
BlockParameterDefaults {
Block {
BlockType ComplexToRealImag
Output "Real and imag"
}
Block {
BlockType Constant
Value "1"
VectorParams1D on
ShowAdditionalParam off
OutDataTypeMode "Inherit from 'Constant value'"
OutDataType "sfix(16)"
ConRadixGroup "Use specified scaling"
OutScaling "2^0"
}
Block {
BlockType DataTypeConversion
DataType "auto"
SaturateOnIntegerOverflow on
}
Block {
BlockType FrameConversion
OutFrame "Frame-based"
}
Block {
BlockType Ground
}
Block {
BlockType Inport
Port "1"
PortDimensions "-1"
SampleTime "-1"
ShowAdditionalParam off
LatchInput off
DataType "auto"
OutDataType "sfix(16)"
OutScaling "2^0"
SignalType "auto"
SamplingMode "auto"
Interpolate on
}
Block {
BlockType Outport
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Block {
BlockType Rounding
Operator "floor"
}
Block {
BlockType "S-Function"
FunctionName "system"
PortCounts "[]"
SFunctionModules "''"
}
Block {
BlockType SubSystem
ShowPortLabels on
Permissions "ReadWrite"
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
SimViewingDevice off
DataTypeOverride "UseLocalSettings"
MinMaxOverflowLogging "UseLocalSettings"
}
Block {
BlockType ZeroOrderHold
SampleTime "1"
}
}
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 "ch7example17"
Location [151, 166, 949, 590]
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 [240, 134, 320, 176]
SourceBlock "commchan2/AWGN\nChannel"
SourceType "AWGN Channel"
seed "67"
noiseMode "Variance from mask"
EsNodB "15000000"
SNRdB "10"
Ps "1"
Tsym "1"
variance "0"
}
Block {
BlockType Reference
Name "Discrete-Time\nEye Diagram\nScope"
Tag "EyeDiagram"
Ports [1]
Position [650, 131, 695, 179]
SourceBlock "commsink2/Discrete-Time\nEye Diagram\nScope"
SourceType "Discrete-Time Eye Diagram Scope"
showPlotting on
sampPerSymb "10"
offsetEye "0"
symbPerTrace "1"
numTraces "100"
numNewFrames "20"
showRendering off
LineStyles "-"
LineColors "b"
dupPoints on
fading on
render on
AxisGrid on
showAxes off
yMin "-3.47172709929269"
yMax "3.48619780915791"
inphaseLabel "In-phase Amplitude"
quadratureLabel "Quadrature Amplitude"
showFigure off
openScopeAtSimStart on
dispDiagram "In-phase and Quadrature"
FrameNumber off
FigPos "[232 34 560 644]"
figTitle "Eye Diagram"
block_type_ "eye"
numLinesMax "8"
}
Block {
BlockType Reference
Name "Discrete-Time\nScatter Plot\nScope1"
Tag "ScatterPlot"
Ports [1]
Position [460, 130, 505, 180]
SourceBlock "commsink2/Discrete-Time\nScatter Plot\nScope"
SourceType "Discrete-Time Scatter Plot Scope"
showPlotting on
sampPerSymb "10"
offsetEye "0"
numTraces "200"
numNewFrames "10"
showRendering off
LineMarkers "."
LineColors "b"
fading on
render on
AxisGrid on
showAxes on
xMin "-3"
xMax "3"
yMin "-3"
yMax "3"
inphaseLabel "In-phase Amplitude"
quadratureLabel "Quadrature Amplitude"
showFigure off
openScopeAtSimStart on
FrameNumber off
FigPos "[232 118 560 560]"
figTitle "Scatter Plot"
numLinesMax "8"
block_type_ "scatter"
}
Block {
BlockType Reference
Name "Discrete-Time\nSignal Trajectory\nScope"
Tag "SignalTrajectory"
Ports [1]
Position [555, 130, 600, 180]
SourceBlock "commsink2/Discrete-Time\nSignal Trajectory\nSco"
"pe"
SourceType "Discrete-Time Signal Trajectory Scope"
showPlotting on
sampPerSymb "10"
offsetEye "0"
numTraces "200"
numNewFrames "10"
showRendering off
LineStyles "-"
LineColors "b"
fading on
render on
AxisGrid on
showAxes off
xMin "-3"
xMax "3"
yMin "-3"
yMax "3"
inphaseLabel "In-phase Amplitude"
quadratureLabel "Quadrature Amplitude"
showFigure off
openScopeAtSimStart on
FrameNumber off
FigPos "[232 118 560 560]"
figTitle "Signal Trajectory"
numLinesMax "8"
block_type_ "xy"
}
Block {
BlockType Reference
Name "FIR\nInterpolation"
Ports [1, 1]
Position [355, 129, 420, 181]
SourceBlock "dspmlti3/FIR\nInterpolation"
SourceType "FIR Interpolation"
h "rcosine(1, 10,[],0.75,4)"
L "10"
framing "Maintain input frame size"
outputBufInitCond "0"
}
Block {
BlockType Reference
Name "Random Integer\nGenerator"
Ports [0, 1]
Position [15, 133, 95, 177]
FontName "Arial"
SourceBlock "commrandsrc2/Random Integer\nGenerator"
SourceType "Random Integer Generator"
mul "16"
seed "37"
Ts "1"
frameBased off
sampPerFrame "1"
orient off
}
Block {
BlockType Reference
Name "Rectangular QAM\nModulator\nBaseband"
Ports [1, 1]
Position [130, 129, 205, 181]
SourceBlock "commdigbbndam2/Rectangular QAM\nModulator\nBase"
"band"
SourceType "Rectangular QAM Modulator Baseband"
M "16"
InType "Integer"
Enc "Binary"
PowType "Min. distance between symbols"
MinDist "1"
AvgPow "1"
PeakPow "1"
Ph "0"
numSamp "1"
}
Line {
SrcBlock "Random Integer\nGenerator"
SrcPort 1
DstBlock "Rectangular QAM\nModulator\nBaseband"
DstPort 1
}
Line {
SrcBlock "Rectangular QAM\nModulator\nBaseband"
SrcPort 1
DstBlock "AWGN\nChannel"
DstPort 1
}
Line {
SrcBlock "AWGN\nChannel"
SrcPort 1
DstBlock "FIR\nInterpolation"
DstPort 1
}
Line {
SrcBlock "FIR\nInterpolation"
SrcPort 1
Points [10, 0]
Branch {
DstBlock "Discrete-Time\nScatter Plot\nScope1"
DstPort 1
}
Branch {
Points [0, 70; 95, 0]
Branch {
Points [0, -70]
DstBlock "Discrete-Time\nSignal Trajectory\nScope"
DstPort 1
}
Branch {
Points [95, 0; 0, -70]
DstBlock "Discrete-Time\nEye Diagram\nScope"
DstPort 1
}
}
}
Annotation {
Name "16QAM信號通過帶限信道的測試模型\n文件名:ch7exa"
"mple17.mdl"
Position [314, 231]
DropShadow on
FontName "Arial"
FontSize 12
}
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -