📄 comm_bpsk.mdl
字号:
Model {
Name "comm_bpsk"
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 on
BlockDescriptionStringDataTip off
ToolBar on
StatusBar on
BrowserShowLibraryLinks off
BrowserLookUnderMasks off
PreLoadFcn "ts=.01;td=.2;M=8;Fc=100/2/pi;"
Created "Tue Oct 20 09:14:41 1998"
Creator "tdelve"
UpdateHistory "UpdateHistoryNever"
ModifiedByFormat "%<Auto>"
LastModifiedBy "Yanhua Zhang"
ModifiedDateFormat "%<Auto>"
LastModifiedDate "Sat Sep 13 12:11:22 2003"
ModelVersionFormat "1.%<AutoIncrement:11>"
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 "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
ExtModeSkipDownloadWhenConnect off
ExtModeLogAll on
ExtModeAutoUpdateStatusClock on
BufferReuse on
RTWExpressionDepthLimit 5
SimulationMode "normal"
Solver "VariableStepDiscrete"
SolverMode "SingleTasking"
StartTime "0.0"
StopTime "1000"
MaxOrder 5
MaxStep "auto"
MinStep "auto"
MaxNumMinSteps "-1"
InitialStep "auto"
FixedStep "auto"
RelTol "1e-3"
AbsTol "1e-6"
OutputOption "RefineOutputTimes"
OutputTimes "[]"
Refine "1"
LoadExternalInput off
ExternalInput "[t, u]"
LoadInitialState off
InitialState "xInitial"
SaveTime off
TimeSaveName "tout"
SaveState off
StateSaveName "xout"
SaveOutput off
OutputSaveName "yout"
SaveFinalState off
FinalStateName "xFinal"
SaveFormat "Array"
Decimation "1"
LimitDataPoints off
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 off
BooleanDataType off
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 FrameConversion
OutFrame "Frame-based"
}
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 Mux
Inputs "4"
DisplayOption "none"
}
Block {
BlockType Outport
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Block {
BlockType Reference
}
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 Sum
IconShape "rectangular"
Inputs "++"
ShowAdditionalParam off
InputSameDT on
OutDataTypeMode "Same as first input"
OutDataType "sfix(16)"
OutScaling "2^0"
LockScale off
RndMeth "Floor"
SaturateOnIntegerOverflow 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 "comm_bpsk"
Location [96, 109, 735, 313]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
ReportName "simulink-default.rpt"
Block {
BlockType Reference
Name "AWGN\nchannel"
Ports [1, 1]
Position [240, 48, 320, 92]
ShowName off
SourceBlock "com_chan/AWGN\nchannel"
SourceType "AWGN channel, fixed parameter"
m "0"
d ".01"
s "57468"
}
Block {
BlockType Reference
Name "BPSK demod"
Ports [1, 1]
Position [410, 48, 490, 92]
SourceBlock "com_ddm2/BPSK demod"
SourceType "Passband BPSK demodulation"
td "0.2"
Fc "100/2/pi"
Ph "0"
ts "0.01"
}
Block {
BlockType Reference
Name "BPSK mod"
Ports [1, 1]
Position [135, 48, 215, 92]
SourceBlock "com_ddm2/BPSK mod"
SourceType "Passband BPSK modulation"
td "0.2"
Fc "100/2/pi"
Ph "0"
ts "0.01"
}
Block {
BlockType Reference
Name "Error rate1"
Ports [2]
Position [525, 38, 605, 82]
ShowName off
SourceBlock "com_sour/Error rate"
SourceType "Symbol/bit error counter"
K "5"
num_lin "20"
TDelay "0.2"
Sample "0.2"
}
Block {
BlockType Reference
Name "Random-Integer\nGenerator"
Ports [0, 1]
Position [15, 48, 95, 92]
SourceBlock "commrandsrc2/Random Integer\nGenerator"
SourceType "Random Integer Generator"
mul "2"
seed "12345"
Ts "0.2"
frameBased off
sampPerFrame "1"
orient off
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [360, 60, 380, 80]
ShowName off
IconShape "round"
Inputs "|++"
}
Block {
BlockType Reference
Name "Uniform Noise\nGenerator"
Ports [0, 1]
Position [235, 108, 315, 152]
SourceBlock "commnoisgen2/Uniform Noise\nGenerator"
SourceType "Uniform Noise Generator"
low "-1"
up "1"
seed "54321"
Ts "0.1"
frameBased off
sampPerFrame "1"
orient off
}
Line {
SrcBlock "BPSK mod"
SrcPort 1
DstBlock "AWGN\nchannel"
DstPort 1
}
Line {
SrcBlock "Random-Integer\nGenerator"
SrcPort 1
Points [5, 0]
Branch {
Points [0, -45; 400, 0; 0, 25]
DstBlock "Error rate1"
DstPort 1
}
Branch {
DstBlock "BPSK mod"
DstPort 1
}
}
Line {
SrcBlock "BPSK demod"
SrcPort 1
DstBlock "Error rate1"
DstPort 2
}
Line {
SrcBlock "AWGN\nchannel"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "BPSK demod"
DstPort 1
}
Line {
SrcBlock "Uniform Noise\nGenerator"
SrcPort 1
Points [50, 0]
DstBlock "Sum"
DstPort 2
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -