?? wcdmaspreadandmod.mdl
字號:
Model {
Name "wcdmaspreadandmod"
Version 4.00
SampleTimeColors off
LibraryLinkDisplay "all"
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
PreLoadFcn "assignin('base','numTapsRRC',32);
\nassignin('base'"
",'overSampling',8);"
CloseFcn "rtwprivate ssgencode ModelCloseRequest wcdmaspread"
InitFcn "who"
Created "Tue Oct 16 10:15:38 2001"
Creator "arodrigu"
UpdateHistory "UpdateHistoryNever"
ModifiedByFormat "%<Auto>"
LastModifiedBy "arodrigu"
ModifiedDateFormat "%<Auto>"
LastModifiedDate "Thu Mar 07 15:36:49 2002"
ModelVersionFormat "1.%<AutoIncrement:1317>"
ConfigurationManager "None"
SimParamPage "Solver"
StartTime "0.0"
StopTime "inf"
SolverMode "Auto"
Solver "VariableStepDiscrete"
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 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"
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"
RTWOptions "-aEnforceIntegerDowncast=1 -aExtMode=0 -aFoldNonRol"
"ledExpr=1 -aForceParamTrailComments=0 -aGenerateComments=1 -aIgnoreCustomStor"
"ageClasses=1 -aIncHierarchyInIds=0 -aInlineInvariantSignals=0 -aLocalBlockOut"
"puts=1 -aLogVarNameModifier=\"rt_\" -aRTWVerbose=1 -aRollThreshold=5 -aShowEl"
"iminatedStatements=1"
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 "wcdmaspreadandmod"
Location [2, 74, 1014, 699]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
ReportName "simulink-default.rpt"
Block {
BlockType Display
Name "BER Measurements"
Ports [1]
Position [790, 479, 880, 541]
ShowName off
FontName "Arial"
Format "short"
Decimation "1"
Floating off
SampleTime "-1"
}
Block {
BlockType Display
Name "BER Measurements1"
Ports [1]
Position [680, 564, 750, 586]
ShowName off
FontName "Arial"
FontSize 9
Format "short"
Decimation "1"
Floating off
SampleTime "-1"
}
Block {
BlockType SubSystem
Name "Bernoulli Random\nBinary Generator"
Ports [0, 1]
Position [15, 100, 90, 140]
ShowName off
ShowPortLabels on
TreatAsAtomicUnit off
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
MaskType "Bernoulli Random Binary Generator"
MaskDescription "Generate a Bernoulli random binary number. \nT"
"o generate a vector output, specify the probability as a vector."
MaskHelp "helpview(commbhelp)"
MaskPromptString "Probability of a zero:|Initial seed:|Sample tim"
"e:|Frame-based outputs|Samples per frame:|Interpret vector parameters as 1-D"
MaskStyleString "edit,edit,edit,checkbox,edit,checkbox"
MaskTunableValueString "on,on,on,on,on,on"
MaskCallbackString "|||commblkbernoullisrc2(gcb,'cbFrameBased');||c"
"ommblkbernoullisrc2(gcb,'cbOrient');"
MaskEnableString "on,on,on,on,on,off"
MaskVisibilityString "on,on,on,on,on,on"
MaskToolTipString "on,on,on,on,on,on"
MaskVariables "P=@1;seed=@2;Ts=@3;frameBased=@4;sampPerFrame=@"
"5;orient=@6;"
MaskInitialization "if (frameBased & sampPerFrame > 1), dsp_sampFra"
"me = sampPerFrame;\nelse dsp_sampFrame = 1; end;\n[L,U,seed,eStr]=commblkbern"
"oullisrc2(gcb,'init',{P,seed});\nif(eStr.ecode==1)\n error(eStr.emsg);\nen"
"d;"
MaskDisplay "plot(0,0,100,100,[95 5 10 10 10 reshape(([85*[0"
":1/15:1-1/15]+10; 85*[1/15:1/15:1]+10]),1,30)],[75 75 75 70 95 reshape([rands"
"rc(1,15,[80,90],13579); randsrc(1,15,[80,90],13579)],1,30)]);\ndisp('Slot Gen"
"erator')"
MaskSelfModifiable on
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "0.5|[123456]|0.01/(15*numBits)|on|numBits|off"
MaskVariableAliases ",,,,,"
System {
Name "Bernoulli Random\nBinary Generator"
Location [146, 261, 605, 450]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Reference
Name "DSP Constant"
Ports [0, 1]
Position [65, 105, 100, 135]
SourceBlock "dspsrcs3/DSP\nConstant"
SourceType "DSP Constant"
Value "ones(sampPerFrame,1)*(P(:)'.*ones(1,max(len"
"gth(P),length(seed))))"
InterpretAs1D "off"
SampleMode "Discrete"
Ts "Ts*sampPerFrame"
FramebasedOutput "on"
}
Block {
BlockType Reference
Name "Frame Status Conversion"
Ports [1, 1]
Position [230, 61, 295, 99]
ShowName off
SourceBlock "dspsigattribs/Frame Status\nConversion"
SourceType "Frame Status Conversion"
growRefPort "off"
outframe "Frame-based"
}
Block {
BlockType Reference
Name "Random Source"
Ports [0, 1]
Position [65, 26, 100, 64]
Diagnostics "AllowInheritedTsInSrc"
SourceBlock "dspsrcs3/Random\nSource"
SourceType "Random Source"
SrcType "Uniform"
Min "0"
Max "1"
Mean "0"
Var "1"
RepMode "Specify seed"
Seed "seed(:)'.*ones(1,max(length(P),length(seed)"
"))"
Inherit "off"
SampMode "Discrete"
SampTime "Ts"
SampFrame "dsp_sampFrame"
OutComplex "Real"
}
Block {
BlockType RelationalOperator
Name "Relational Operator"
Position [160, 62, 190, 93]
ShowName off
Operator ">"
}
Block {
BlockType Reference
Name "Reshape"
Ports [1, 1]
Position [340, 68, 370, 92]
ShowName off
SourceBlock "simulink3/Signals\n& Systems/Reshape"
SourceType "Reshape"
OutputDimensionality "Customize"
OutputDimensions "[sampPerFrame,max(length(P),length(seed))]"
}
Block {
BlockType Outport
Name "Out"
Position [405, 73, 435, 87]
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "Frame Status Conversion"
SrcPort 1
DstBlock "Reshape"
DstPort 1
}
Line {
SrcBlock "Reshape"
SrcPort 1
DstBlock "Out"
DstPort 1
}
Line {
SrcBlock "Relational Operator"
SrcPort 1
DstBlock "Frame Status Conversion"
DstPort 1
}
Line {
SrcBlock "DSP Constant"
SrcPort 1
Points [40, 0]
DstBlock "Relational Operator"
DstPort 2
}
Line {
SrcBlock "Random Source"
SrcPort 1
Points [40, 0]
DstBlock "Relational Operator"
DstPort 1
}
}
}
Block {
BlockType DigitalClock
Name "Digital Clock"
Position [590, 566, 655, 584]
ShowName off
FontName "Arial"
FontSize 9
SampleTime "0.001"
}
Block {
BlockType Reference
Name "Error Rate Calculation"
Ports [2, 1]
Position [680, 488, 760, 532]
ShowName off
FontName "Arial"
SourceBlock "commsink2/Error Rate Calculation"
SourceType "Error Rate Calculation"
N "(rxSlotsDelay+1)*numBits"
st_delay "0"
cp_mode "Entire frame"
subframe "[]"
PMode "Port"
WsName "ErrorVec"
RsMode2 off
stop off
numErr "100"
maxBits "1e6"
}
Block {
BlockType From
Name "From"
Position [15, 361, 80, 379]
ShowName off
CloseFcn "tagdialog Close"
FontName "Arial"
GotoTag "ToChannel"
Port {
PortNumber 1
Name "Tx Signal"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
}
}
Block {
BlockType From
Name "From1"
Position [560, 492, 655, 508]
ShowName off
CloseFcn "tagdialog Close"
FontName "Arial"
GotoTag "DPCH_Slot_Tx"
}
Block {
BlockType From
Name "From10"
Position [50, 547, 140, 563]
ShowName off
CloseFcn "tagdialog Close"
GotoTag "DPCH_Tx_all"
}
Block {
BlockType From
Name "From12"
Position [280, 547, 365, 563]
ShowName off
CloseFcn "tagdialog Close"
GotoTag "ToChannel"
}
Block {
BlockType From
Name "From14"
Position [280, 567, 365, 583]
ShowName off
CloseFcn "tagdialog Close"
GotoTag "RxSignal"
}
Block {
BlockType From
Name "From2"
Position [560, 512, 655, 528]
ShowName off
CloseFcn "tagdialog Close"
FontName "Arial"
GotoTag "DPCH_Slot_Rx"
}
Block {
BlockType From
Name "From3"
Position [280, 507, 360, 523]
ShowName off
CloseFcn "tagdialog Close"
GotoTag "DPCH_Tx"
}
Block {
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -