⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 modelo_sts3.mdl

📁 matlab在通信原理中的应用
💻 MDL
📖 第 1 页 / 共 5 页
字号:
    }
    Block {
      BlockType		      Reference
      Name		      "LOH Rx2"
      Ports		      [1, 5]
      Position		      [2515, 280, 2570, 330]
      SourceBlock	      "SoftTDMLib_Compacta/Cabeceras (Overhead)/Cabece"
"ra SONET/LOH Rx"
      SourceType	      "Cabecera de Linea (LOH) Rx (SONET)"
    }
    Block {
      BlockType		      Reference
      Name		      "Laser"
      Ports		      [1, 1]
      Position		      [1010, 215, 1115, 275]
      SourceBlock	      "SoftTDMLib_Compacta/Transmisor\nOptico/Laser"
      SourceType	      "Laser"
      sel		      "STS-12/STM-4"
      vel		      "622"
      velo		      "2.5"
      veloc		      "10"
      veloci		      "40"
      frec		      "1310"
      mater		      "In(0.73)Ga(0.27)As(0.58)P(0.42)"
      maters		      "In(0.58)Ga(0.42)As(0.9)P(0.1)"
    }
    Block {
      BlockType		      SubSystem
      Name		      "Line Overhead Tx (LOH)"
      Ports		      [1, 1]
      Position		      [365, 145, 425, 195]
      AncestorBlock	      "SoftTDMLib_Compacta/Taras (Overhead)/Tara (Over"
"head)\nSONET/Line Overhead Tx (LOH)"
      TreatAsAtomicUnit	      off
      MaskType		      "LTE"
      MaskDescription	      "Este bloque fue dise馻do para proveer un retras"
"o a la informacion, claro esta; se necesita que el usuario introduzca el nume"
"ro de tramas que estan siendo transmitidas y la cantidad que desea se retrase"
" dicha informacion."
      MaskPromptString	      "Introduzca el numero de Tramas que estan siendo"
" transmitidas:|Introduzca el valor del retraso, desde 0 a 782:"
      MaskStyleString	      "edit,edit"
      MaskTunableValueString  "off,off"
      MaskCallbackString      "|"
      MaskEnableString	      "on,on"
      MaskVisibilityString    "on,on"
      MaskToolTipString	      "on,on"
      MaskVarAliasString      ","
      MaskVariables	      "Num_Tramas=@1;puntero_delay=@2;"
      MaskDisplay	      "image(imread('LOH_SONET.jpg'))"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      MaskValueString	      "1|0"
      System {
	Name			"Line Overhead Tx (LOH)"
	Location		[-10, 362, 706, 546]
	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, 103, 45, 117]
	}
	Block {
	  BlockType		  MATLABFcn
	  Name			  "MATLAB Fcn2"
	  Position		  [405, 110, 470, 150]
	  ShowName		  off
	  MATLABFcn		  "Puntero_LOH"
	  Output1D		  off
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Retraso"
	  Ports			  [1, 2]
	  Position		  [265, 64, 325, 151]
	  TreatAsAtomicUnit	  off
	  MaskPromptString	  "Retraso(0-782):"
	  MaskStyleString	  "edit"
	  MaskTunableValueString  "on"
	  MaskEnableString	  "on"
	  MaskVisibilityString	  "on"
	  MaskToolTipString	  "on"
	  MaskVariables		  "retraso=@1;"
	  MaskDisplay		  "port_label('input',1,'Ent')\nport_label('ou"
"tput',1,'Sal')\nport_label('output',2,'Valor')"
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	  MaskValueString	  "puntero_delay"
	  System {
	    Name		    "Retraso"
	    Location		    [24, 230, 776, 399]
	    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]
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Frame Status Conversion1"
	      Ports		      [1, 1]
	      Position		      [170, 30, 205, 60]
	      ShowName		      off
	      SourceBlock	      "dspsigattribs/Frame Status\nConversion"
	      SourceType	      "Frame Status Conversion"
	      growRefPort	      "off"
	      outframe		      "Frame-based"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Frame Status Conversion2"
	      Ports		      [1, 1]
	      Position		      [620, 32, 665, 58]
	      ShowName		      off
	      SourceBlock	      "dspsigattribs/Frame Status\nConversion"
	      SourceType	      "Frame Status Conversion"
	      growRefPort	      "off"
	      outframe		      "Frame-based"
	    }
	    Block {
	      BlockType		      "S-Function"
	      Name		      "Integer Delay"
	      Ports		      [1, 1]
	      Position		      [325, 26, 400, 64]
	      AncestorBlock	      "dspsigops/Integer Delay"
	      FunctionName	      "sdspdly2"
	      Parameters	      "delay,ic,reset"
	      MaskType		      "Integer Delay"
	      MaskDescription	      "Delay discrete-time input by a fixed in"
"teger number of sample periods."
	      MaskHelp		      "web(dspbhelp);"
	      MaskPromptString	      "Delay (samples):|Initial conditions:|Re"
"set port:"
	      MaskStyleString	      "edit,edit,popup(None|Rising edge|Fallin"
"g edge|Either edge|Non-zero sample)"
	      MaskTunableValueString  "off,off,off"
	      MaskCallbackString      "||"
	      MaskEnableString	      "on,on,on"
	      MaskVisibilityString    "on,on,on"
	      MaskToolTipString	      "on,on,on"
	      MaskVarAliasString      ",,"
	      MaskVariables	      "delay=@1;ic=@2;reset_popup=@3;"
	      MaskInitialization      "str = dspblkdly2('icon',&1,delay);\ndx "
"= 0.01*length(str);\nreset = reset_popup-1;\nif (reset == 0)\n	s.i1 = "
"1; s.i1s = '';\n	s.i2 = 1; s.i2s = '';\nelse\n	s.i1 = 1; s.i1s "
"= 'In';\n	s.i2 = 2; s.i2s = 'Rst';\nend\n"
	      MaskDisplay	      "text(0.42-dx, 0.4, 'z'); text(0.5-dx, 0"
".6, str);\nport_label('input',s.i1,s.i1s);\nport_label('input',s.i2,s.i2s);\n"
	      MaskSelfModifiable      on
	      MaskIconFrame	      on
	      MaskIconOpaque	      on
	      MaskIconRotate	      "none"
	      MaskIconUnits	      "normalized"
	      MaskValueString	      "(8*retraso+2088)|0|None"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Reshape2"
	      Ports		      [1, 1]
	      Position		      [245, 33, 275, 57]
	      ShowName		      off
	      SourceBlock	      "simulink/Math\nOperations/Reshape"
	      SourceType	      "Reshape"
	      OutputDimensionality    "Column vector"
	      OutputDimensions	      "[1,1]"
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "Retraso en Binario "
	      Ports		      [1, 1]
	      Position		      [365, 92, 425, 118]
	      TreatAsAtomicUnit	      off
	      MaskDisplay	      "disp('Dec2Bin')"
	      MaskIconFrame	      on
	      MaskIconOpaque	      on
	      MaskIconRotate	      "none"
	      MaskIconUnits	      "autoscale"
	      System {
		Name			"Retraso en Binario "
		Location		[440, 273, 562, 563]
		Open			off
		ModelBrowserVisibility	off
		ModelBrowserWidth	200
		ScreenColor		"white"
		PaperOrientation	"landscape"
		PaperPositionMode	"auto"
		PaperType		"usletter"
		PaperUnits		"inches"
		ZoomFactor		"100"
		Block {
		  BlockType		  Inport
		  Name			  "In1"
		  Position		  [50, 250, 80, 265]
		  Orientation		  "up"
		}
		Block {
		  BlockType		  SubSystem
		  Name			  "Frame Status\nConversion3"
		  Ports			  [1, 1]
		  Position		  [48, 110, 82, 135]
		  Orientation		  "up"
		  NamePlacement		  "alternate"
		  ShowName		  off
		  AncestorBlock		  "dspsigattribs/Frame Status\nConvers"
"ion"
		  ShowPortLabels	  off
		  TreatAsAtomicUnit	  off
		  MaskType		  "Frame Status Conversion"
		  MaskDescription	  "Specify the frame status of the out"
"put signal."
		  MaskHelp		  "web(dspbhelp);"
		  MaskPromptString	  "Inherit output frame status from Re"
"f input port|Output signal:"
		  MaskStyleString	  "checkbox,popup(Frame-based|Sample-b"
"ased)"
		  MaskTunableValueString  "off,off"
		  MaskCallbackString	  "dspblkfrmconv|"
		  MaskEnableString	  "on,on"
		  MaskVisibilityString	  "on,on"
		  MaskToolTipString	  "on,on"
		  MaskVarAliasString	  ","
		  MaskVariables		  "growRefPort=@1;outframe=@2;"
		  MaskInitialization	  "[p, str] = dspblkfrmconv('init');"
		  MaskDisplay		  "port_label(p.in1,   p.i1,  p.i1s);"
"\nport_label(p.in2,   p.i2,  p.i2s);\nport_label(p.out, p.o1, p.o1s);\ndisp(s"
"tr)"
		  MaskSelfModifiable	  on
		  MaskIconFrame		  on
		  MaskIconOpaque	  on
		  MaskIconRotate	  "none"
		  MaskIconUnits		  "autoscale"
		  MaskValueString	  "off|Frame-based"
		  System {
		    Name		    "Frame Status\nConversion3"
		    Location		    [440, 79, 794, 211]
		    Open		    off
		    ModelBrowserVisibility  off
		    ModelBrowserWidth	    200
		    ScreenColor		    "white"
		    PaperOrientation	    "landscape"
		    PaperPositionMode	    "auto"
		    PaperType		    "usletter"
		    PaperUnits		    "inches"
		    ZoomFactor		    "100"
		    Block {
		    BlockType		    Inport
		    Name		    "In1"
		    Position		    [20, 28, 50, 42]
		    }
		    Block {
		    BlockType		    FrameConversion
		    Name		    "Frame Status"
		    Position		    [110, 15, 190, 55]
		    }
		    Block {
		    BlockType		    Outport
		    Name		    "Out"
		    Position		    [240, 28, 270, 42]
		    }
		    Line {
		    SrcBlock		    "In1"
		    SrcPort		    1
		    DstBlock		    "Frame Status"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Frame Status"
		    SrcPort		    1
		    DstBlock		    "Out"
		    DstPort		    1
		    }
		  }
		}
		Block {
		  BlockType		  Reference
		  Name			  "Integer to Bit\nConverter"
		  Ports			  [1, 1]
		  Position		  [21, 155, 109, 190]
		  Orientation		  "up"
		  NamePlacement		  "alternate"
		  SourceBlock		  "commutil2/Integer to Bit\nConverter"
		  SourceType		  "Integer to Bit Converter"
		  nbits			  "10"
		}
		Block {
		  BlockType		  Reference
		  Name			  "Reshape"
		  Ports			  [1, 1]
		  Position		  [45, 205, 85, 225]
		  Orientation		  "up"
		  SourceBlock		  "simulink/Math\nOperations/Reshape"
		  SourceType		  "Reshape"
		  OutputDimensionality	  "1-D array"
		  OutputDimensions	  "[1,1]"
		}
		Block {
		  BlockType		  Reference
		  Name			  "Reshape1"
		  Ports			  [1, 1]
		  Position		  [50, 65, 80, 85]
		  Orientation		  "up"
		  SourceBlock		  "simulink/Math\nOperations/Reshape"
		  SourceType		  "Reshape"
		  OutputDimensionality	  "Row vector"
		  OutputDimensions	  "[1,1]"
		}
		Block {
		  BlockType		  Outport
		  Name			  "Out1"
		  Position		  [50, 25, 80, 40]
		  Orientation		  "up"
		}
		Line {
		  SrcBlock		  "In1"
		  SrcPort		  1
		  DstBlock		  "Reshape"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Reshape1"
		  SrcPort		  1
		  DstBlock		  "Out1"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Frame Status\nConversion3"
		  SrcPort		  1
		  DstBlock		  "Reshape1"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Integer to Bit\nConverter"
		  SrcPort		  1
		  DstBlock		  "Frame Status\nConversion3"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Reshape"
		  SrcPort		  1
		  DstBlock		  "Integer to Bit\nConverter"
		  DstPort		  1
		}
	      }
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Signal From\nWorkspace"
	      Ports		      [0, 1]
	      Position		      [255, 88, 310, 122]
	      Priority		      "6"
	      SourceBlock	      "dspsrcs4/Signal From\nWorkspace"
	      SourceType	      "Signal From Workspace"
	      X			      "retraso"
	      Ts		      "1"
	      nsamps		      "1"
	      OutputAfterFinalValue   "Setting to zero"
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "Subsystem"
	      Ports		      [1, 1]
	      Position		      [450, 28, 500, 62]
	      ShowName		      off
	      TreatAsAtomicUnit	      off
	      MaskDisplay	      "disp('Reshape')"
	      MaskIconFrame	      on
	      MaskIconOpaque	      on
	      MaskIconRotate	      "none"
	      MaskIconUnits	      "autoscale"
	      System {
		Name			"Subsystem"
		Location		[349, 194, 574, 282]
		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, 27, 145, 63]
		  ShowName		  off
		  MATLABFcn		  "Reshape_Vector"
		  Output1D		  off
		}
		Block {
		  BlockType		  Outport
		  Name			  "Out1"
		  Position		  [170, 38, 200, 52]
		}
		Line {
		  SrcBlock		  "MATLAB Fcn2"
		  SrcPort		  1
		  DstBlock		  "Out1"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "In1"
		  SrcPort		  1
		  DstBlock		  "MATLAB Fcn2"
		  DstPort		  1
		}
	      }
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Transpose3"
	      Ports		      [1, 1]
	      Position		      [95, 34, 120, 56]
	      NamePlacement	      "alternate"
	      ShowName		      off
	      FontSize		      11
	      FontWeight	      "light"
	      SourceBlock	      "dspmtrx3/Transpose"
	      SourceType	      "Transpose"
	      Hermitian		      "off"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Transpose4"
	      Ports		      [1, 1]
	      Position		      [540, 34, 570, 56]
	      NamePlacement	      "alternate"
	      ShowName		      off
	      FontSize		      11
	      FontWeight	      "light"
	      SourceBlock	      "dspmtrx3/Transpose"
	      SourceType	      "Transpose"
	      Hermitian		      "off"

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -