📄 modelo_rdi_l.mdl
字号:
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "Recupera_Puntero"
Location [222, 322, 662, 419]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [15, 38, 45, 52]
ShowName off
}
Block {
BlockType SubSystem
Name "\n"
Ports [1, 1]
Position [205, 29, 260, 61]
ShowName off
TreatAsAtomicUnit off
MaskDisplay "disp('Bin2Dec')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "\n"
Location [277, 205, 429, 568]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [55, 25, 85, 40]
Orientation "down"
}
Block {
BlockType Reference
Name "Bit to Integer\nConverter"
Ports [1, 1]
Position [33, 140, 107, 170]
Orientation "down"
NamePlacement "alternate"
SourceBlock "commutil2/Bit to Integer\nConvert"
"er"
SourceType "Bit to Integer Converter"
nbits "10"
}
Block {
BlockType Reference
Name "Frame Status\nConversion3"
Ports [1, 1]
Position [49, 200, 91, 230]
Orientation "down"
NamePlacement "alternate"
ShowName off
SourceBlock "dspsigattribs/Frame Status\nConve"
"rsion"
SourceType "Frame Status Conversion"
growRefPort "off"
outframe "Frame-based"
}
Block {
BlockType Reference
Name "Reshape"
Ports [1, 1]
Position [51, 75, 89, 100]
Orientation "down"
NamePlacement "alternate"
SourceBlock "simulink/Math\nOperations/Reshape"
SourceType "Reshape"
OutputDimensionality "1-D array"
OutputDimensions "[1,1]"
}
Block {
BlockType Reference
Name "Reshape1"
Ports [1, 1]
Position [55, 265, 85, 285]
Orientation "down"
SourceBlock "simulink/Math\nOperations/Reshape"
SourceType "Reshape"
OutputDimensionality "Row vector"
OutputDimensions "[1,1]"
}
Block {
BlockType Outport
Name "Out1"
Position [55, 325, 85, 340]
Orientation "down"
}
Line {
SrcBlock "Frame Status\nConversion3"
SrcPort 1
DstBlock "Reshape1"
DstPort 1
}
Line {
SrcBlock "Reshape"
SrcPort 1
DstBlock "Bit to Integer\nConverter"
DstPort 1
}
Line {
SrcBlock "Bit to Integer\nConverter"
SrcPort 1
DstBlock "Frame Status\nConversion3"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Reshape"
DstPort 1
}
Line {
SrcBlock "Reshape1"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
}
}
Block {
BlockType MATLABFcn
Name "MATLAB Fcn1"
Position [90, 26, 155, 64]
ShowName off
MATLABFcn "Recupera_Puntero"
Output1D off
}
Block {
BlockType MATLABFcn
Name "MATLAB Fcn3"
Position [290, 25, 355, 65]
ShowName off
MATLABFcn "Guarda_Retraso"
Output1D off
}
Block {
BlockType Outport
Name "Out4"
Position [395, 38, 425, 52]
ShowName off
}
Line {
SrcBlock "\n"
SrcPort 1
DstBlock "MATLAB Fcn3"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "MATLAB Fcn1"
DstPort 1
}
Line {
SrcBlock "MATLAB Fcn1"
SrcPort 1
DstBlock "\n"
DstPort 1
}
Line {
SrcBlock "MATLAB Fcn3"
SrcPort 1
DstBlock "Out4"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Reporte de Error\nM0"
Ports [2, 1]
Position [395, 180, 485, 235]
BackgroundColor "yellow"
FontWeight "bold"
TreatAsAtomicUnit off
MaskDisplay "disp('MO')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "Reporte de Error\nM0"
Location [310, 175, 689, 322]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [25, 43, 55, 57]
}
Block {
BlockType Inport
Name "In2"
Position [25, 88, 55, 102]
Port "2"
}
Block {
BlockType MATLABFcn
Name "MATLAB Fcn3"
Position [225, 55, 290, 95]
ShowName off
MATLABFcn "M0"
Output1D off
}
Block {
BlockType Reference
Name "Matrix\nConcatenation"
Ports [2, 1]
Position [120, 26, 180, 119]
SourceBlock "simulink/Math\nOperations/Matrix\nC"
"oncatenation"
SourceType "Matrix Concatenation"
numInports "2"
catMethod "Horizontal"
}
Block {
BlockType Outport
Name "Out1"
Position [325, 68, 355, 82]
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Matrix\nConcatenation"
DstPort 1
}
Line {
SrcBlock "In2"
SrcPort 1
DstBlock "Matrix\nConcatenation"
DstPort 2
}
Line {
SrcBlock "Matrix\nConcatenation"
SrcPort 1
DstBlock "MATLAB Fcn3"
DstPort 1
}
Line {
SrcBlock "MATLAB Fcn3"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Subsystem3"
Ports [1, 1]
Position [175, 27, 275, 53]
BackgroundColor "[0.607843, 0.835294, 0.901961]"
ShowName off
FontWeight "bold"
TreatAsAtomicUnit off
MaskDisplay "disp('Elimina TOH')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "Subsystem3"
Location [212, 134, 437, 226]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [25, 38, 55, 52]
}
Block {
BlockType MATLABFcn
Name "MATLAB Fcn2"
Position [80, 25, 145, 65]
ShowName off
MATLABFcn "Elimina_TOH"
Output1D off
}
Block {
BlockType Outport
Name "Out1"
Position [170, 38, 200, 52]
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "MATLAB Fcn2"
DstPort 1
}
Line {
SrcBlock "MATLAB Fcn2"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
}
}
Block {
BlockType Outport
Name "Out1"
Position [345, 33, 375, 47]
ShowName off
}
Block {
BlockType Outport
Name "Out4"
Position [350, 93, 380, 107]
ShowName off
Port "2"
}
Block {
BlockType Outport
Name "Out2"
Position [345, 158, 375, 172]
ShowName off
Port "3"
}
Block {
BlockType Outport
Name "Out3"
Position [345, 243, 375, 257]
ShowName off
Port "4"
}
Block {
BlockType Outport
Name "Out5"
Position [525, 203, 555, 217]
ShowName off
Port "5"
}
Line {
SrcBlock "In1"
SrcPort 1
Points [20, 0]
Branch {
Points [0, 60]
Branch {
DstBlock "Recupera_Puntero"
DstPort 1
}
Branch {
Points [0, 65]
Branch {
Points [0, 85]
DstBlock " Obtencion de B2 recibido"
DstPort 1
}
Branch {
DstBlock "Obtencion de B2 calculado"
DstPort 1
}
}
}
Branch {
DstBlock "Subsystem3"
DstPort 1
}
}
Line {
SrcBlock "Obtencion de B2 calculado"
SrcPort 1
Points [25, 0]
Branch {
Points [0, 30]
DstBlock "Reporte de Error\nM0"
DstPort 1
}
Branch {
DstBlock "Out2"
DstPort 1
}
}
Line {
SrcBlock " Obtencion de B2 recibido"
SrcPort 1
Points [25, 0]
Branch {
Points [0, -30]
DstBlock "Reporte de Error\nM0"
DstPort 2
}
Branch {
DstBlock "Out3"
DstPort 1
}
}
Line {
SrcBlock "Subsystem3"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "Reporte de Error\nM0"
SrcPort 1
DstBlock "Out5"
DstPort 1
}
Line {
SrcBlock "Recupera_Puntero"
SrcPort 1
DstBlock "Out4"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "LOH Rx2"
Ports [1, 5]
Position [630, 228, 685, 282]
TreatAsAtomicUnit off
MaskType "Tara de Linea(LOH) Rx (SONET)"
MaskDescription "Este bloque provee informacion de la tara d"
"e linea, en el bloque de informacion de salida ha sido eliinada la tara de li"
"nea\n\nInformacion que provee el bloque:\n*B2 Calculado\n*B2 Recibido\n*Mo Re"
"porte de error"
MaskDisplay "image(imread('LOH_SONET_RX.jpg'))\nport_lab"
"el('input',1,'Ent')\nport_label('output',1,'Sal')\nport_label('output',2,'Pun"
"tero')\nport_label('output',3,'B2_Calc')\nport_label('output',4,'B2_Rec')\npo"
"rt_label('output',5,'MO')\n\n"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "LOH Rx2"
Location [74, 361, 643, 652]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [40, 33, 70, 47]
ShowName off
}
Block {
BlockType SubSystem
Name " Obtencion de B2 recibido"
Ports [1, 1]
Position [175, 234, 275, 266]
BackgroundColor "[0.607843, 0.835294, 0.901961]"
NamePlacement "alternate"
FontWeight "bold"
TreatAsAtomicUnit off
MaskDisplay "disp('B2 Recibido')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name " Obtencion de B2 recibido"
Location [240, 142, 488, 273]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -