?? mud.mdl
字號:
InitialOutput "[]"
}
Block {
BlockType Product
Inputs "2"
Multiplication "Element-wise(.*)"
InputSameDT on
OutDataTypeMode "Same as first input"
OutDataType "sfix(16)"
OutScaling "2^0"
LockScale off
RndMeth "Zero"
SaturateOnIntegerOverflow on
SampleTime "-1"
}
Block {
BlockType RandomNumber
Mean "0"
Variance "1"
Seed "0"
SampleTime "-1"
VectorParams1D on
}
Block {
BlockType "S-Function"
FunctionName "system"
PortCounts "[]"
SFunctionModules "''"
}
Block {
BlockType Signum
ZeroCross on
SampleTime "-1"
}
Block {
BlockType SubSystem
ShowPortLabels on
Permissions "ReadWrite"
PermitHierarchicalResolution "All"
SystemSampleTime "-1"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
SimViewingDevice off
DataTypeOverride "UseLocalSettings"
MinMaxOverflowLogging "UseLocalSettings"
}
Block {
BlockType Sum
IconShape "rectangular"
Inputs "++"
InputSameDT on
OutDataTypeMode "Same as first input"
OutDataType "sfix(16)"
OutScaling "2^0"
LockScale off
RndMeth "Floor"
SaturateOnIntegerOverflow on
SampleTime "-1"
}
Block {
BlockType Terminator
}
}
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 "mud"
Location [2, 82, 1270, 753]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
ReportName "simulink-default.rpt"
Block {
BlockType Sum
Name "Add3"
Ports [11, 1]
Position [400, 128, 435, 342]
Inputs "+++++++++++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
SampleTime "1"
}
Block {
BlockType SubSystem
Name "CombineToVector"
Ports [10, 1]
Position [725, 186, 785, 474]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
Array {
Type "Handle"
Dimension 0
PropName "AvailSigsLoadSave"
}
MaskType "Stateflow"
MaskDescription "Embedded MATLAB block"
MaskDisplay "disp('y1');"
MaskSelfModifiable on
MaskIconFrame on
MaskIconOpaque off
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "CombineToVector"
Location [257, 457, 812, 717]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "a1"
Position [20, 101, 40, 119]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "a2"
Position [20, 136, 40, 154]
Port "2"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "a3"
Position [20, 171, 40, 189]
Port "3"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "a4"
Position [20, 206, 40, 224]
Port "4"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "a5"
Position [20, 246, 40, 264]
Port "5"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "a6"
Position [20, 281, 40, 299]
Port "6"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "a7"
Position [20, 316, 40, 334]
Port "7"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "a8"
Position [20, 351, 40, 369]
Port "8"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "a9"
Position [20, 386, 40, 404]
Port "9"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "a10"
Position [20, 426, 40, 444]
Port "10"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Demux
Name " Demux "
Ports [1, 1]
Position [270, 330, 320, 370]
Outputs "1"
}
Block {
BlockType "S-Function"
Name " SFunction "
Tag "Stateflow S-Function mud 38"
Ports [10, 2]
Position [180, 110, 230, 330]
FunctionName "sf_sfun"
PortCounts "[10 2]"
Port {
PortNumber 2
Name "y"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
ShowSigGenPortName on
}
}
Block {
BlockType Terminator
Name " Terminator "
Position [460, 341, 480, 359]
}
Block {
BlockType Outport
Name "y"
Position [460, 101, 480, 119]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock " SFunction "
SrcPort 1
Points [0, 185]
DstBlock " Demux "
DstPort 1
}
Line {
SrcBlock " Demux "
SrcPort 1
DstBlock " Terminator "
DstPort 1
}
Line {
SrcBlock "a1"
SrcPort 1
Points [120, 0]
DstBlock " SFunction "
DstPort 1
}
Line {
Name "y"
Labels [0, 0]
SrcBlock " SFunction "
SrcPort 2
DstBlock "y"
DstPort 1
}
Line {
SrcBlock "a2"
SrcPort 1
Points [120, 0]
DstBlock " SFunction "
DstPort 2
}
Line {
SrcBlock "a3"
SrcPort 1
DstBlock " SFunction "
DstPort 3
}
Line {
SrcBlock "a4"
SrcPort 1
DstBlock " SFunction "
DstPort 4
}
Line {
SrcBlock "a5"
SrcPort 1
DstBlock " SFunction "
DstPort 5
}
Line {
SrcBlock "a6"
SrcPort 1
DstBlock " SFunction "
DstPort 6
}
Line {
SrcBlock "a7"
SrcPort 1
DstBlock " SFunction "
DstPort 7
}
Line {
SrcBlock "a8"
SrcPort 1
DstBlock " SFunction "
DstPort 8
}
Line {
SrcBlock "a9"
SrcPort 1
DstBlock " SFunction "
DstPort 9
}
Line {
SrcBlock "a10"
SrcPort 1
DstBlock " SFunction "
DstPort 10
}
}
}
Block {
BlockType Constant
Name "Constant"
Position [480, 596, 675, 614]
Value "[1 1 1 1 1 1 1 1 1 3]"
}
Block {
BlockType Display
Name "DEC"
Ports [1]
Position [1175, 399, 1240, 461]
Decimation "1"
}
Block {
BlockType Reference
Name "Error Rate\nCalculation"
Ports [2, 1]
Position [1070, 217, 1150, 268]
SourceBlock "commsink2/Error Rate\nCalculation"
SourceType "Error Rate Calculation"
N "0"
st_delay "0"
cp_mode "Entire frame"
subframe "[]"
PMode "Port"
WsName "ErrorVec"
RsMode2 off
stop off
numErr "100"
maxBits "1e6"
}
Block {
BlockType Reference
Name "Error Rate\nCalculation1"
Ports [2, 1]
Position [1070, 400, 1150, 455]
SourceBlock "commsink2/Error Rate\nCalculation"
SourceType "Error Rate Calculation"
N "0"
st_delay "0"
cp_mode "Entire frame"
subframe "[]"
PMode "Port"
WsName "ErrorVec"
RsMode2 off
stop off
numErr "100"
maxBits "1e6"
}
Block {
BlockType Reference
Name "Error Rate\nCalculation2"
Ports [2, 1]
Position [1070, 583, 1145, 632]
SourceBlock "commsink2/Error Rate\nCalculation"
SourceType "Error Rate Calculation"
N "0"
st_delay "0"
cp_mode "Entire frame"
subframe "[]"
PMode "Port"
WsName "ErrorVec"
RsMode2 off
stop off
numErr "100"
maxBits "1e6"
}
Block {
BlockType Gain
Name "Gain1"
Position [160, 25, 190, 55]
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
SampleTime "1"
}
Block {
BlockType Gain
Name "Gain10"
Position [160, 470, 190, 500]
Gain "3"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
SampleTime "1"
}
Block {
BlockType Gain
Name "Gain2"
Position [160, 75, 190, 105]
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
SampleTime "1"
}
Block {
BlockType Gain
Name "Gain3"
Position [160, 175, 190, 205]
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
SampleTime "1"
}
Block {
BlockType Gain
Name "Gain4"
Position [160, 125, 190, 155]
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
SampleTime "1"
}
Block {
BlockType Gain
Name "Gain5"
Position [160, 220, 190, 250]
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
SampleTime "1"
}
Block {
BlockType Gain
Name "Gain6"
Position [160, 270, 190, 300]
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
SampleTime "1"
}
Block {
BlockType Gain
Name "Gain7"
Position [160, 320, 190, 350]
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
SampleTime "1"
}
Block {
BlockType Gain
Name "Gain8"
Position [160, 370, 190, 400]
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
SampleTime "1"
}
Block {
BlockType Gain
Name "Gain9"
Position [160, 420, 190, 450]
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
SampleTime "1"
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -