📄 wimax.mdl
字号:
OutputWhenDisabled "held"
InitialOutput "[]"
}
Block {
BlockType Reference
}
Block {
BlockType Selector
InputType "Vector"
IndexMode "One-based"
ElementSrc "Internal"
Elements "1"
RowSrc "Internal"
Rows "1"
ColumnSrc "Internal"
Columns "1"
InputPortWidth "-1"
IndexIsStartValue off
OutputPortSize "1"
}
Block {
BlockType SubSystem
ShowPortLabels on
Permissions "ReadWrite"
PermitHierarchicalResolution "All"
SystemSampleTime "-1"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
SimViewingDevice off
DataTypeOverride "UseLocalSettings"
MinMaxOverflowLogging "UseLocalSettings"
}
Block {
BlockType Terminator
}
Block {
BlockType ToWorkspace
VariableName "simulink_output"
MaxDataPoints "1000"
Decimation "1"
SampleTime "0"
FixptAsFi off
}
}
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 "wimax3"
Location [87, 119, 917, 557]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
ReportName "simulink-default.rpt"
Block {
BlockType SubSystem
Name "Block\nDecoder"
Ports [1, 1]
Position [185, 173, 240, 217]
Orientation "left"
BackgroundColor "[1.000000, 0.501961, 0.000000]"
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
System {
Name "Block\nDecoder"
Location [42, 260, 997, 649]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [15, 28, 45, 42]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Reference
Name "Bit to Integer\nConverter2"
Ports [1, 1]
Position [95, 13, 175, 57]
BackgroundColor "[1.000000, 0.501961, 0.000000]"
SourceBlock "commutil2/Bit to Integer\nConverter"
SourceType "Bit to Integer Converter"
nbits "8"
}
Block {
BlockType Reference
Name "Integer to Bit\nConverter3"
Ports [1, 1]
Position [760, 13, 840, 57]
BackgroundColor "[1.000000, 0.501961, 0.000000]"
SourceBlock "commutil2/Integer to Bit\nConverter"
SourceType "Integer to Bit Converter"
nbits "8"
}
Block {
BlockType Reference
Name "Integer-Output\nRS Decoder"
Ports [1, 1]
Position [515, 13, 610, 57]
BackgroundColor "[1.000000, 0.501961, 0.000000]"
SourceBlock "commblkcod2/Integer-Output\nRS Decoder"
SourceType "Integer-Output RS Decoder"
n "255"
k "239"
specPrimPoly "on"
primPoly "primPoly"
specGenPoly "on"
genPoly "genPoly"
showNumErr "off"
}
Block {
BlockType Selector
Name "Selector1"
Ports [1, 1]
Position [225, 13, 275, 57]
BackgroundColor "[1.000000, 0.501961, 0.000000]"
Elements "[2:40, 1]"
InputPortWidth "40"
}
Block {
BlockType Selector
Name "Selector2"
Ports [1, 1]
Position [660, 13, 710, 57]
BackgroundColor "[1.000000, 0.501961, 0.000000]"
Elements "[204:239]"
InputPortWidth "239"
}
Block {
BlockType Reference
Name "Zero Pad to\nCode Word Size1"
Ports [1, 1]
Position [325, 17, 370, 53]
BackgroundColor "[1.000000, 0.501961, 0.000000]"
SourceBlock "dspsigops/Zero Pad"
SourceType "Zero Pad"
padSigAt "Beginning"
zpadAlong "Columns"
padNumOutRowsSpecMethod "User-specified"
numOutRows "239"
padNumOutColsSpecMethod "User-specified"
numOutCols "1"
trunc_flag "None"
}
Block {
BlockType Reference
Name "Zero Pad to\nCode Word Size2"
Ports [1, 1]
Position [420, 17, 465, 53]
BackgroundColor "[1.000000, 0.501961, 0.000000]"
SourceBlock "dspsigops/Zero Pad"
SourceType "Zero Pad"
padSigAt "End"
zpadAlong "Columns"
padNumOutRowsSpecMethod "User-specified"
numOutRows "255"
padNumOutColsSpecMethod "User-specified"
numOutCols "1"
trunc_flag "None"
}
Block {
BlockType Outport
Name "Out1"
Position [890, 28, 920, 42]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Zero Pad to\nCode Word Size2"
SrcPort 1
DstBlock "Integer-Output\nRS Decoder"
DstPort 1
}
Line {
SrcBlock "Zero Pad to\nCode Word Size1"
SrcPort 1
DstBlock "Zero Pad to\nCode Word Size2"
DstPort 1
}
Line {
SrcBlock "Selector2"
SrcPort 1
DstBlock "Integer to Bit\nConverter3"
DstPort 1
}
Line {
SrcBlock "Integer-Output\nRS Decoder"
SrcPort 1
DstBlock "Selector2"
DstPort 1
}
Line {
SrcBlock "Selector1"
SrcPort 1
DstBlock "Zero Pad to\nCode Word Size1"
DstPort 1
}
Line {
SrcBlock "Bit to Integer\nConverter2"
SrcPort 1
DstBlock "Selector1"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Bit to Integer\nConverter2"
DstPort 1
}
Line {
SrcBlock "Integer to Bit\nConverter3"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Block\nEncoder"
Ports [1, 1]
Position [185, 28, 240, 72]
BackgroundColor "[1.000000, 0.501961, 0.000000]"
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
System {
Name "Block\nEncoder"
Location [258, 403, 931, 686]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [15, 28, 45, 42]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Reference
Name "Bit to Integer\nConverter"
Ports [1, 1]
Position [95, 13, 175, 57]
BackgroundColor "[1.000000, 0.501961, 0.000000]"
SourceBlock "commutil2/Bit to Integer\nConverter"
SourceType "Bit to Integer Converter"
nbits "8"
}
Block {
BlockType Reference
Name "Integer to Bit\nConverter"
Ports [1, 1]
Position [555, 13, 635, 57]
BackgroundColor "[1.000000, 0.501961, 0.000000]"
SourceBlock "commutil2/Integer to Bit\nConverter"
SourceType "Integer to Bit Converter"
nbits "8"
}
Block {
BlockType Reference
Name "Integer-Input\nRS Encoder"
Ports [1, 1]
Position [320, 13, 405, 57]
BackgroundColor "[1.000000, 0.501961, 0.000000]"
SourceBlock "commblkcod2/Integer-Input\nRS Encoder"
SourceType "Integer-Input RS Encoder"
n "255"
k "239"
specPrimPoly "on"
primPoly "primPoly"
specGenPoly "on"
genPoly "genPoly"
}
Block {
BlockType Selector
Name "Selector"
Ports [1, 1]
Position [455, 13, 505, 57]
BackgroundColor "[1.000000, 0.501961, 0.000000]"
Elements "[240:243,204:239]"
InputPortWidth "255"
}
Block {
BlockType Reference
Name "Zero Pad to\nCode Word Size"
Ports [1, 1]
Position [225, 17, 270, 53]
BackgroundColor "[1.000000, 0.501961, 0.000000]"
SourceBlock "dspsigops/Zero Pad"
SourceType "Zero Pad"
padSigAt "Beginning"
zpadAlong "Columns"
padNumOutRowsSpecMethod "User-specified"
numOutRows "239"
padNumOutColsSpecMethod "User-specified"
numOutCols "1"
trunc_flag "None"
}
Block {
BlockType Outport
Name "Out1"
Position [685, 28, 715, 42]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Integer-Input\nRS Encoder"
SrcPort 1
DstBlock "Selector"
DstPort 1
}
Line {
SrcBlock "Zero Pad to\nCode Word Size"
SrcPort 1
DstBlock "Integer-Input\nRS Encoder"
DstPort 1
}
Line {
SrcBlock "Bit to Integer\nConverter"
SrcPort 1
DstBlock "Zero Pad to\nCode Word Size"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Bit to Integer\nConverter"
DstPort 1
}
Line {
SrcBlock "Selector"
SrcPort 1
DstBlock "Integer to Bit\nConverter"
DstPort 1
}
Line {
SrcBlock "Integer to Bit\nConverter"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Convolutional\nEncoder"
Ports [1, 1]
Position [265, 28, 320, 72]
BackgroundColor "[1.000000, 0.501961, 0.000000]"
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
System {
Name "Convolutional\nEncoder"
Location [433, 403, 931, 703]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [15, 33, 45, 47]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Reference
Name "Convolutional\nEncoder"
Ports [1, 1]
Position [100, 13, 205, 67]
BackgroundColor "[1.000000, 0.501961, 0.000000]"
SourceBlock "commcnvcod2/Convolutional\nEncoder"
SourceType "Convolutional Encoder"
trellis "poly2trellis(7, [171 133])"
reset "On each frame"
}
Block {
BlockType Reference
Name "Puncture"
Ports [1, 1]
Position [255, 18, 335, 62]
BackgroundColor "[1.000000, 0.501961, 0.000000]"
SourceBlock "commsequence2/Puncture"
SourceType "Puncture"
punctureVector "reshape([1 0 1 0 1;1 1 0 1 0], 10, 1)"
}
Block {
BlockType Outport
Name "Out1"
Position [385, 33, 415, 47]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Convolutional\nEncoder"
SrcPort 1
DstBlock "Puncture"
DstPort 1
}
Line {
SrcBlock "Puncture"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Convolutional\nEncoder"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Data"
Ports [0, 1]
Position [25, 28, 80, 72]
BackgroundColor "[1.000000, 0.501961, 0.000000]"
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
System {
Name "Data"
Location [344, 370, 722, 476]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Reference
Name "Integer to Bit\nConverter1"
Ports [1, 1]
Position [120, 13, 200, 57]
BackgroundColor "[1.000000, 0.501961, 0.000000]"
SourceBlock "commutil2/Integer to Bit\nConverter"
SourceType "Integer to Bit Converter"
nbits "8"
}
Block {
BlockType Reference
Name "Signal From\nWorkspace"
Ports [0, 1]
Position [15, 18, 70, 52]
BackgroundColor "[1.000000, 0.501961, 0.000000]"
SourceBlock "dspsrcs4/Signal From\nWorkspace"
SourceType "Signal From Workspace"
ShowPortLabels "on"
X "input_data"
Ts "1/35"
nsamps "35"
OutputAfterFinalValue "Setting to zero"
}
Block {
BlockType Outport
Name "Out1"
Position [250, 28, 280, 42]
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -