📄 ofdm.mdl
字号:
Model {
Name "ofdm"
Version 4.00
SampleTimeColors off
LibraryLinkDisplay "none"
WideLines off
ShowLineDimensions on
ShowPortDataTypes off
RecordCoverage off
CovPath "/"
CovSaveName "covdata"
CovNameIncrementing off
CovHtmlReporting on
BlockNameDataTip off
BlockParametersDataTip on
BlockDescriptionStringDataTip off
ToolBar on
StatusBar on
BrowserShowLibraryLinks off
BrowserLookUnderMasks on
Created "Thu Jun 15 16:52:49 2000"
UpdateHistory "UpdateHistoryNever"
ModifiedByFormat "%<Auto>"
ModifiedDateFormat "%<Auto>"
LastModifiedDate "Sat Aug 09 20:16:58 2003"
ModelVersionFormat "1.%<AutoIncrement:100>"
ConfigurationManager "none"
SimParamPage "Solver"
StartTime "0.0"
StopTime "0.001"
SolverMode "Auto"
Solver "ode45"
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 on
TimeSaveName "tout"
SaveState off
StateSaveName "xout"
SaveOutput on
OutputSaveName "yout"
LoadInitialState off
InitialState "xInitial"
SaveFinalState off
FinalStateName "xFinal"
SaveFormat "Array"
LimitDataPoints off
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"
ExtModeMexFile "ext_comm"
ExtModeBatchMode off
ExtModeTrigType "manual"
ExtModeTrigMode "oneshot"
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 off
ExtModeLogAll on
OptimizeBlockIOStorage on
BufferReuse on
ParameterPooling on
BlockReductionOpt off
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 "ofdm"
Location [212, 97, 871, 235]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "automatic"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
ReportName "simulink-default.rpt"
Block {
BlockType Reference
Name "Data Sequence\n Generator"
Ports [0, 1]
Position [40, 43, 120, 87]
SourceBlock "commsource/Binary vector\nnoise generator"
SourceType "Binary noise generator"
n "1"
prob "0.5"
seed "12345"
Ts "1/13e6"
}
Block {
BlockType SubSystem
Name "Multipath\nChannel"
Ports [2, 2]
Position [310, 34, 385, 96]
ShowPortLabels on
TreatAsAtomicUnit off
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
System {
Name "Multipath\nChannel"
Location [233, 294, 453, 447]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "automatic"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
Block {
BlockType Inport
Name "InI"
Position [25, 38, 55, 52]
Port "1"
Interpolate on
}
Block {
BlockType Inport
Name "InQ"
Position [25, 103, 55, 117]
Port "2"
Interpolate on
}
Block {
BlockType DiscreteFilter
Name "CannelI"
Position [80, 27, 140, 63]
Numerator "ofdmchai"
Denominator "1"
SampleTime "1/20e6"
Realization "auto"
}
Block {
BlockType DiscreteFilter
Name "DFEQ"
Position [80, 92, 140, 128]
Numerator "ofdmchaq"
Denominator "1"
SampleTime "1/20e6"
Realization "auto"
}
Block {
BlockType Outport
Name "OutI"
Position [165, 38, 195, 52]
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Block {
BlockType Outport
Name "OutQ"
Position [165, 103, 195, 117]
Port "2"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "CannelI"
SrcPort 1
DstBlock "OutI"
DstPort 1
}
Line {
SrcBlock "InI"
SrcPort 1
DstBlock "CannelI"
DstPort 1
}
Line {
SrcBlock "DFEQ"
SrcPort 1
DstBlock "OutQ"
DstPort 1
}
Line {
SrcBlock "InQ"
SrcPort 1
DstBlock "DFEQ"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Receiver"
Ports [2, 1]
Position [445, 37, 525, 93]
ShowPortLabels on
TreatAsAtomicUnit off
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
System {
Name "Receiver"
Location [170, 308, 915, 506]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "automatic"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
Block {
BlockType Inport
Name "InI"
Position [50, 93, 80, 107]
Port "1"
Interpolate on
}
Block {
BlockType Inport
Name "InQ"
Position [50, 123, 80, 137]
Port "2"
Interpolate on
}
Block {
BlockType SubSystem
Name "Constellation\nDecoder"
Ports [1, 1]
Position [360, 91, 460, 139]
ShowPortLabels on
TreatAsAtomicUnit off
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
System {
Name "Constellation\nDecoder"
Location [186, 376, 679, 570]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "automatic"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
Block {
BlockType Inport
Name "Constellation"
Position [50, 93, 80, 107]
Port "1"
Interpolate on
}
Block {
BlockType SubSystem
Name "26D4QAM"
Ports [1, 1]
Position [170, 129, 240, 161]
ShowPortLabels on
TreatAsAtomicUnit off
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
System {
Name "26D4QAM"
Location [444, 408, 761, 686]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "automatic"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
Block {
BlockType Inport
Name "In"
Position [25, 133, 55, 147]
Port "1"
Interpolate on
}
Block {
BlockType SubSystem
Name "2D4QAM"
Ports [1, 1]
Position [115, 216, 175, 244]
ShowPortLabels on
TreatAsAtomicUnit off
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
System {
Name "2D4QAM"
Location [358, 380, 658, 518]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "automatic"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
Block {
BlockType Inport
Name "In"
Position [25, 63, 55, 77]
Port "1"
Interpolate on
}
Block {
BlockType SubSystem
Name "D4QAM"
Ports [1, 1]
Position [115, 38, 180, 62]
ShowPortLabels on
TreatAsAtomicUnit off
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
System {
Name "D4QAM"
Location [212, 366, 760, 621]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "automatic"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
Block {
BlockType Inport
Name "In"
Position [25, 63, 55, 77]
Port "1"
Interpolate on
}
Block {
BlockType SubSystem
Name "2Scale\nto bit2"
Ports [1, 1]
Position [135, 34, 195, 56]
ShowPortLabels on
TreatAsAtomicUnit off
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
System {
Name "2Scale\nto bit2"
Location [576, 172, 917, 591]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "automatic"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
Block {
BlockType Inport
Name "In1"
Position [40, 38, 70, 52]
Port "1"
Interpolate on
}
Block {
BlockType Constant
Name "Constant6"
Position [100, 85, 130, 115]
Value "1"
VectorParams1D on
}
Block {
BlockType Gain
Name "Gain5"
Position [205, 40, 235, 70]
Gain "1/2"
Multiplication "Element-wise(K.*u)"
SaturateOnIntegerOverflow on
}
Block {
BlockType Signum
Name "Sign2"
Position [100, 30, 130, 60]
}
Block {
BlockType Sum
Name "Sum6"
Ports [2, 1]
Position [155, 35, 180, 70]
ShowName off
IconShape "rectangular"
Inputs "++"
SaturateOnIntegerOverflow on
}
Block {
BlockType Outport
Name "Out1"
Position [265, 48, 295, 62]
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "Sign2"
SrcPort 1
DstBlock "Sum6"
DstPort 1
}
Line {
SrcBlock "Constant6"
SrcPort 1
Points [5, 0]
DstBlock "Sum6"
DstPort 2
}
Line {
SrcBlock "Sum6"
SrcPort 1
DstBlock "Gain5"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Sign2"
DstPort 1
}
Line {
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -