?? rechmtl.mdl
字號:
Model {
Name "rechmtl"
Version 4.00
SampleTimeColors off
LibraryLinkDisplay "none"
WideLines on
ShowLineDimensions on
ShowPortDataTypes off
RecordCoverage off
CovPath "/"
CovSaveName "covdata"
CovNameIncrementing off
CovHtmlReporting on
BlockNameDataTip off
BlockParametersDataTip off
BlockDescriptionStringDataTip off
ToolBar on
StatusBar on
BrowserShowLibraryLinks off
BrowserLookUnderMasks off
Created "Mon Mar 03 15:33:01 2003"
UpdateHistory "UpdateHistoryNever"
ModifiedByFormat "%<Auto>"
ModifiedDateFormat "%<Auto>"
LastModifiedDate "Tue Mar 25 16:41:51 2003"
ModelVersionFormat "1.%<AutoIncrement:73>"
ConfigurationManager "none"
SimParamPage "Solver"
StartTime "0.0"
StopTime "10.0"
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 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"
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 "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
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 "rechmtl"
Location [13, 86, 1037, 693]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
ReportName "simulink-default.rpt"
Block {
BlockType SubSystem
Name "\n"
Ports [1, 2]
Position [785, 225, 900, 260]
Orientation "up"
ForegroundColor "magenta"
BackgroundColor "green"
ShowPortLabels on
TreatAsAtomicUnit off
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
System {
Name "\n"
Location [-6, 83, 1018, 716]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "automatic"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
Block {
BlockType Inport
Name "Rate"
Position [30, 33, 60, 47]
NamePlacement "alternate"
Port "1"
Interpolate on
}
Block {
BlockType SubSystem
Name "IS-95A Rev Ch Walsh \nModulation and Spread"
"ing1"
Ports [2, 2]
Position [290, 65, 385, 105]
AncestorBlock "cdmalib/IS-95A Mobile Station Transmitter/I"
"S-95A Rev Ch Walsh\nModulation and Spreading"
ShowPortLabels on
TreatAsAtomicUnit off
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
MaskType "IS-95A Rev Ch Walsh Modulation and Spreadin"
"g"
MaskDescription "Perform Walsh code modulation, spreading wi"
"th the long code, and power group randomization on a reverse Access or Traffi"
"c channel frame. "
MaskHelp "web(cdmaweb);"
MaskPromptString "Channel type:|Long code mask:|Walsh order:|"
"Sample time:"
MaskStyleString "popup(Access|Traffic),edit,edit,edit"
MaskTunableValueString "off,off,off,off"
MaskCallbackString "|||"
MaskEnableString "on,on,on,on"
MaskVisibilityString "on,on,on,on"
MaskToolTipString "on,on,on,on"
MaskVariables "chType=@1;lngCdMask=@2;wlshOrd=@3;sampTime="
"@4;"
MaskInitialization "is95revchmodspread;\n"
MaskSelfModifiable on
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "Traffic|1123|6|1/(50*384)"
MaskVariableAliases ",,,"
System {
Name "IS-95A Rev Ch Walsh \nModulation and Spre"
"ading1"
Location [2, 79, 1022, 713]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
Block {
BlockType Inport
Name "Rate"
Position [20, 128, 50, 142]
NamePlacement "alternate"
Port "1"
Interpolate on
}
Block {
BlockType Inport
Name "Frame In"
Position [35, 48, 65, 62]
Port "2"
Interpolate on
}
Block {
BlockType SubSystem
Name "Binary to Bipolar"
Ports [1, 1]
Position [235, 243, 295, 277]
ShowPortLabels on
TreatAsAtomicUnit off
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
MaskType "Binary to Bipolar Transformation"
MaskDescription "Convert binary (0/1) inputs to bipolar "
"(1/-1) outputs."
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "Binary to Bipolar"
Location [557, 497, 834, 634]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
Block {
BlockType Inport
Name "0/1"
Position [20, 38, 50, 52]
Port "1"
Interpolate on
}
Block {
BlockType Reference
Name "Discrete\nConstant"
Ports [0, 1]
Position [150, 85, 170, 105]
Orientation "up"
ShowName off
SourceBlock "dspsrcs2/Discrete\nConstant"
SourceType "Discrete Constant"
Value "1"
Ts "4*sampTime"
}
Block {
BlockType Gain
Name "Gain"
Position [85, 30, 115, 60]
ShowName off
Gain "2"
Multiplication "Element-wise(K.*u)"
SaturateOnIntegerOverflow on
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [145, 30, 175, 60]
ShowName off
IconShape "round"
Inputs "|-+"
SaturateOnIntegerOverflow on
}
Block {
BlockType Outport
Name "1/-1"
Position [210, 38, 240, 52]
Port "1"
OutputWhenDisabled "held"
InitialOutput "0"
}
Line {
SrcBlock "Discrete\nConstant"
SrcPort 1
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "0/1"
SrcPort 1
DstBlock "Gain"
DstPort 1
}
Line {
SrcBlock "Gain"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "1/-1"
DstPort 1
}
}
}
Block {
BlockType Reference
Name "Downsample"
Ports [1, 1]
Position [415, 217, 475, 253]
ShowName off
SourceBlock "dspbdsp2/Downsample"
SourceType "Downsample"
N "(2^wlshOrd)*4"
phase "0"
ic "0"
sample_mode "off"
frame "on"
nchans "1"
mode "Maintain input frame rate"
}
Block {
BlockType Reference
Name "IS-95A Long \nCode Generator"
Ports [0, 1]
Position [65, 149, 160, 201]
ShowName off
SourceBlock "cdmalib/IS-95A Common/IS-95A Long\nCode"
" Generator"
SourceType "IS-95A Long Code Generator"
num_symb "4*(2^wlshOrd)"
tx_lc_dec_ratio "1"
tx_lc_init_mask "lngCdMask"
tx_lc_init_state "[]"
tx_sample_time "4*sampTime"
}
Block {
BlockType Reference
Name "IS-95A Rev Ch\nBurst Randomizer"
Ports [2, 1]
Position [215, 115, 315, 195]
SourceBlock "cdmalib/IS-95A Mobile Station Transmitt"
"er/IS-95A Rev Ch\nBurst Randomizer"
SourceType "IS-95A Rev Ch Burst Randomizer"
chType "Traffic"
initLCSt "[]"
}
Block {
BlockType Reference
Name "IS-95A Rev Ch \nWalsh Modulator"
Ports [1, 1]
Position [215, 15, 315, 95]
ShowName off
SourceBlock "cdmalib/IS-95A Mobile Station Transmitt"
"er/IS-95A Rev Ch\nWalsh Modulator"
SourceType "IS-95A Rev Ch Walsh Modulator"
walshOrder "wlshOrd"
numSymb "wlshOrd"
}
Block {
BlockType Gain
Name "Normalization Gain"
Position [610, 132, 665, 178]
Gain "1/sqrt(2)"
Multiplication "Element-wise(K.*u)"
SaturateOnIntegerOverflow on
}
Block {
BlockType Product
Name "Product"
Ports [3, 1]
Position [430, 114, 460, 196]
ShowName off
Inputs "3"
Multiplication "Element-wise(.*)"
SaturateOnIntegerOverflow on
}
Block {
BlockType Reference
Name "Rebuffer"
Ports [1, 1]
Position [510, 131, 570, 179]
ShowName off
SourceBlock "dspbuff2/Rebuffer"
SourceType "Rebuffer"
Specify_Out_Size "on"
N "2^wlshOrd"
V "0"
ic "0"
frame "on"
num_chans "1"
}
Block {
BlockType Reference
Name "Rebuffer1"
Ports [1, 1]
Position [135, 31, 185, 79]
ShowName off
SourceBlock "dspbuff2/Rebuffer"
SourceType "Rebuffer"
Specify_Out_Size "on"
N "wlshOrd"
V "0"
ic "0"
frame "on"
num_chans "1"
}
Block {
BlockType Reference
Name "Repeat1"
Ports [1, 1]
Position [345, 38, 390, 72]
ShowName off
SourceBlock "dspbdsp2/Repeat"
SourceType "Repeat"
N "4"
ic "0"
frame "on"
nchans "1"
mode "Maintain input frame rate"
}
Block {
BlockType ZeroOrderHold
Name "Zero-Order\nHold"
Position [575, 216, 610, 254]
SampleTime "sampTime"
}
Block {
BlockType Outport
Name "Data Out"
Position [710, 148, 740, 162]
Port "1"
OutputWhenDisabled "held"
InitialOutput "0"
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -