📄 uwb.mdl
字号:
Model {
Name "uwb"
Version 4.00
SampleTimeColors off
LibraryLinkDisplay "none"
WideLines off
ShowLineDimensions off
ShowPortDataTypes off
ShowStorageClass off
ExecutionOrder off
RecordCoverage off
CovPath "/"
CovSaveName "covdata"
CovMetricSettings "dw"
CovNameIncrementing off
CovHtmlReporting on
BlockNameDataTip off
BlockParametersDataTip off
BlockDescriptionStringDataTip off
ToolBar on
StatusBar on
BrowserShowLibraryLinks off
BrowserLookUnderMasks off
Created "Wed Jul 31 14:57:57 2002"
UpdateHistory "UpdateHistoryNever"
ModifiedByFormat "%<Auto>"
LastModifiedBy "Youngjae Kim"
ModifiedDateFormat "%<Auto>"
LastModifiedDate "Mon Aug 05 16:43:42 2002"
ModelVersionFormat "1.%<AutoIncrement:9>"
ConfigurationManager "None"
SimParamPage "Solver"
StartTime "0.0"
StopTime "10*param.T"
SolverMode "Auto"
Solver "FixedStepDiscrete"
RelTol "1e-9"
AbsTol "auto"
Refine "1"
MaxStep "auto"
MinStep "auto"
MaxNumMinSteps "-1"
InitialStep "auto"
FixedStep "param.Ts"
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 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"
InvalidFcnCallConnMsg "error"
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 "uwb"
Location [113, 204, 901, 601]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "automatic"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
ReportName "simulink-default.rpt"
Block {
BlockType SubSystem
Name "AWGN\nChannel"
Ports [1, 1]
Position [335, 139, 415, 181]
AncestorBlock "commchan2/AWGN\nChannel"
ShowPortLabels on
TreatAsAtomicUnit off
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
MaskType "AWGN Channel"
MaskDescription "Add white Gaussian noise to the input signal. T"
"he input and output signals can be real or complex. This block supports multi"
"channel input and output signals as well as frame-based processing.\n\nWhen u"
"sing either of the variance modes with complex inputs, the variance values ar"
"e equally divided among the real and imaginary components of the input signal"
"."
MaskHelp "helpview(commbhelp)"
MaskPromptString "Initial seed:|Mode:|Es/No (dB):|SNR (dB):|Input"
" signal power (watts):|Symbol period (s):|Variance:"
MaskStyleString "edit,popup(Signal to noise ratio (Es/No)|Signa"
"l to noise ratio (SNR)|Variance from mask|Variance from port),edit,edit,edit"
",edit,edit"
MaskTunableValueString "off,off,on,on,on,off,on"
MaskCallbackString "|commblkawgnchan2(gcb,'Mode');|||||"
MaskEnableString "on,on,off,off,off,off,on"
MaskVisibilityString "on,on,off,off,off,off,on"
MaskToolTipString "on,on,on,on,on,on,on"
MaskVariables "seed=@1;noiseMode=@2;EsNodB=@3;SNRdB=@4;Ps=@5;T"
"sym=@6;variance=@7;"
MaskInitialization "[mode,s]=commblkawgnchan2(gcb,'init');"
MaskDisplay "plot(-10,-10,110, 110,[05 15 10 10 05 10 18 14 "
"13 7.5 13 41 44 47 50 53 57\n59 100-[13 7.5 13 14 18 10 5 10 10 15 5]],[70 70"
" 70 85 92 85 79 82 90 88.5\n90 90 87 93 87 93 87 90 90 88.5 90 82 79 85 92 85"
" 70 70 70]);\ndisp('AWGN');\nport_label('input',s.i1,s.i1s);\nport_label('inp"
"ut',s.i2,s.i2s);\nport_label('output',s.o1,s.o1s);\n"
MaskSelfModifiable on
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "1237|Variance from mask|10|10|1|1|1"
MaskVariableAliases ",,,,,,"
System {
Name "AWGN\nChannel"
Location [566, 78, 1101, 323]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "automatic"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In"
Position [40, 53, 70, 67]
Port "1"
LatchInput off
Interpolate on
}
Block {
BlockType "S-Function"
Name "Dynamic AWGN"
Ports [3, 1]
Position [210, 26, 305, 214]
FunctionName "scomawgnchan2"
Parameters "noiseMode,EsNodB,SNRdB,Ps,Tsym,variance"
PortCounts "[]"
SFunctionModules "''"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
}
Block {
BlockType Reference
Name "Random\nSource"
Ports [0, 1]
Position [40, 101, 75, 139]
Diagnostics "AllowInheritedTsInSrc"
SourceBlock "dspsrcs3/Random\nSource"
SourceType "Random Source"
SrcType "Gaussian"
Min "0"
Max "1"
Mean "0"
Var "1"
RepMode "Specify seed"
Seed "seed"
Inherit "on"
SampMode "Discrete"
SampTime "1"
SampFrame "1"
OutComplex "Real"
}
Block {
BlockType Ground
Name "Variance"
Position [45, 173, 75, 187]
}
Block {
BlockType Outport
Name "Out"
Position [490, 113, 520, 127]
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "Variance"
SrcPort 1
DstBlock "Dynamic AWGN"
DstPort 3
}
Line {
SrcBlock "Dynamic AWGN"
SrcPort 1
DstBlock "Out"
DstPort 1
}
Line {
SrcBlock "In"
SrcPort 1
DstBlock "Dynamic AWGN"
DstPort 1
}
Line {
SrcBlock "Random\nSource"
SrcPort 1
DstBlock "Dynamic AWGN"
DstPort 2
}
}
}
Block {
BlockType Scope
Name "After Noise"
Ports [1]
Position [470, 94, 500, 126]
Floating off
Location [12, 298, 994, 396]
Open on
NumInputPorts "1"
TickLabels "OneTimeTick"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
Grid "on"
TimeRange "1e-006"
YMin "-5"
YMax "5"
SaveToWorkspace off
SaveName "ScopeData5"
DataFormat "StructureWithTime"
LimitDataPoints off
MaxDataPoints "5000"
Decimation "1"
SampleInput off
SampleTime "0"
}
Block {
BlockType Scope
Name "After being multiplied with the template"
Ports [1]
Position [550, 84, 580, 116]
NamePlacement "alternate"
Floating off
Location [18, 520, 1003, 637]
Open on
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -