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

📄 final.mdl

📁 simulink model for optical cdma system which uses orthogonal code.
💻 MDL
📖 第 1 页 / 共 5 页
字号:
	  BusOutputAsStruct	  off
	}
	Line {
	  SrcBlock		  "Hadamard\nCode Generator"
	  SrcPort		  1
	  Points		  [5, 0]
	  Branch {
	    DstBlock		    "code"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [10, 0]
	    DstBlock		    "Saturation2"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Saturation2"
	  SrcPort		  1
	  Points		  [0, 5; 25, 0]
	  Branch {
	    Points		    [0, 10]
	    DstBlock		    "code1"
	    DstPort		    1
	  }
	  Branch {
	    DstBlock		    "Out1"
	    DstPort		    1
	  }
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "code_1"
      Ports		      [0, 1]
      Position		      [300, 185, 340, 245]
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      FunctionWithSeparateData off
      MaskHideContents	      off
      System {
	Name			"code_1"
	Location		[82, 171, 362, 345]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
	TiledPageScale		1
	ShowPageBoundaries	off
	ZoomFactor		"100"
	Block {
	  BlockType		  Reference
	  Name			  "Hadamard\nCode Generator"
	  Ports			  [0, 1]
	  Position		  [25, 83, 110, 127]
	  SourceBlock		  "commseqgen2/Hadamard\nCode Generator"
	  SourceType		  "Hadamard Code Generator"
	  ShowPortLabels	  "FromPortIcon"
	  SystemSampleTime	  "-1"
	  FunctionWithSeparateData off
	  RTWMemSecFuncInitTerm	  "Inherit from model"
	  RTWMemSecFuncExecute	  "Inherit from model"
	  RTWMemSecDataConstants  "Inherit from model"
	  RTWMemSecDataInternal	  "Inherit from model"
	  RTWMemSecDataParameters "Inherit from model"
	  length		  "32"
	  index			  "22"
	  ts			  "1/32"
	  frameBased		  off
	  sampPerFrame		  "1"
	  outDataType		  "double"
	}
	Block {
	  BlockType		  Saturate
	  Name			  "Saturation2"
	  Position		  [145, 60, 175, 90]
	  UpperLimit		  "1"
	  LowerLimit		  "0"
	}
	Block {
	  BlockType		  Scope
	  Name			  "code"
	  Ports			  [1]
	  Position		  [135, 119, 165, 151]
	  Floating		  off
	  Location		  [951, 115, 1275, 354]
	  Open			  off
	  NumInputPorts		  "1"
	  List {
	    ListType		    AxesTitles
	    axes1		    "%<SignalLabel>"
	  }
	  SaveName		  "ScopeData12"
	  DataFormat		  "StructureWithTime"
	  SampleTime		  "0"
	}
	Block {
	  BlockType		  Scope
	  Name			  "code2"
	  Ports			  [1]
	  Position		  [185, 29, 215, 61]
	  Floating		  off
	  Location		  [951, 115, 1275, 354]
	  Open			  off
	  NumInputPorts		  "1"
	  List {
	    ListType		    AxesTitles
	    axes1		    "%<SignalLabel>"
	  }
	  SaveName		  "ScopeData16"
	  DataFormat		  "StructureWithTime"
	  SampleTime		  "0"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out1"
	  Position		  [225, 73, 255, 87]
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Line {
	  SrcBlock		  "Hadamard\nCode Generator"
	  SrcPort		  1
	  Points		  [5, 0]
	  Branch {
	    DstBlock		    "code"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [10, 0]
	    DstBlock		    "Saturation2"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Saturation2"
	  SrcPort		  1
	  Points		  [0, 5; 25, 0]
	  Branch {
	    Points		    [-35, 0]
	    DstBlock		    "code2"
	    DstPort		    1
	  }
	  Branch {
	    DstBlock		    "Out1"
	    DstPort		    1
	  }
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "code_2"
      Ports		      [0, 1]
      Position		      [300, 360, 340, 420]
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      FunctionWithSeparateData off
      MaskHideContents	      off
      System {
	Name			"code_2"
	Location		[82, 171, 362, 345]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
	TiledPageScale		1
	ShowPageBoundaries	off
	ZoomFactor		"100"
	Block {
	  BlockType		  Reference
	  Name			  "Hadamard\nCode Generator"
	  Ports			  [0, 1]
	  Position		  [25, 83, 110, 127]
	  SourceBlock		  "commseqgen2/Hadamard\nCode Generator"
	  SourceType		  "Hadamard Code Generator"
	  ShowPortLabels	  "FromPortIcon"
	  SystemSampleTime	  "-1"
	  FunctionWithSeparateData off
	  RTWMemSecFuncInitTerm	  "Inherit from model"
	  RTWMemSecFuncExecute	  "Inherit from model"
	  RTWMemSecDataConstants  "Inherit from model"
	  RTWMemSecDataInternal	  "Inherit from model"
	  RTWMemSecDataParameters "Inherit from model"
	  length		  "32"
	  index			  "22"
	  ts			  "1/32"
	  frameBased		  off
	  sampPerFrame		  "1"
	  outDataType		  "double"
	}
	Block {
	  BlockType		  Saturate
	  Name			  "Saturation2"
	  Position		  [145, 60, 175, 90]
	  UpperLimit		  "1"
	  LowerLimit		  "0"
	}
	Block {
	  BlockType		  Scope
	  Name			  "code"
	  Ports			  [1]
	  Position		  [135, 119, 165, 151]
	  Floating		  off
	  Location		  [951, 115, 1275, 354]
	  Open			  off
	  NumInputPorts		  "1"
	  List {
	    ListType		    AxesTitles
	    axes1		    "%<SignalLabel>"
	  }
	  SaveName		  "ScopeData12"
	  DataFormat		  "StructureWithTime"
	  SampleTime		  "0"
	}
	Block {
	  BlockType		  Scope
	  Name			  "code2"
	  Ports			  [1]
	  Position		  [185, 29, 215, 61]
	  Floating		  off
	  Location		  [951, 115, 1275, 354]
	  Open			  off
	  NumInputPorts		  "1"
	  List {
	    ListType		    AxesTitles
	    axes1		    "%<SignalLabel>"
	  }
	  SaveName		  "ScopeData16"
	  DataFormat		  "StructureWithTime"
	  SampleTime		  "0"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out1"
	  Position		  [225, 73, 255, 87]
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Line {
	  SrcBlock		  "Hadamard\nCode Generator"
	  SrcPort		  1
	  Points		  [5, 0]
	  Branch {
	    DstBlock		    "code"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [10, 0]
	    DstBlock		    "Saturation2"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Saturation2"
	  SrcPort		  1
	  Points		  [0, 5; 25, 0]
	  Branch {
	    Points		    [-35, 0]
	    DstBlock		    "code2"
	    DstPort		    1
	  }
	  Branch {
	    DstBlock		    "Out1"
	    DstPort		    1
	  }
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "code_3"
      Ports		      [0, 1]
      Position		      [300, 540, 340, 600]
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      FunctionWithSeparateData off
      MaskHideContents	      off
      System {
	Name			"code_3"
	Location		[82, 171, 362, 345]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
	TiledPageScale		1
	ShowPageBoundaries	off
	ZoomFactor		"100"
	Block {
	  BlockType		  Reference
	  Name			  "Hadamard\nCode Generator"
	  Ports			  [0, 1]
	  Position		  [25, 83, 110, 127]
	  SourceBlock		  "commseqgen2/Hadamard\nCode Generator"
	  SourceType		  "Hadamard Code Generator"
	  ShowPortLabels	  "FromPortIcon"
	  SystemSampleTime	  "-1"
	  FunctionWithSeparateData off
	  RTWMemSecFuncInitTerm	  "Inherit from model"
	  RTWMemSecFuncExecute	  "Inherit from model"
	  RTWMemSecDataConstants  "Inherit from model"
	  RTWMemSecDataInternal	  "Inherit from model"
	  RTWMemSecDataParameters "Inherit from model"
	  length		  "32"
	  index			  "22"
	  ts			  "1/32"
	  frameBased		  off
	  sampPerFrame		  "1"
	  outDataType		  "double"
	}
	Block {
	  BlockType		  Saturate
	  Name			  "Saturation2"
	  Position		  [145, 60, 175, 90]
	  UpperLimit		  "1"
	  LowerLimit		  "0"
	}
	Block {
	  BlockType		  Scope
	  Name			  "code"
	  Ports			  [1]
	  Position		  [135, 119, 165, 151]
	  Floating		  off
	  Location		  [951, 115, 1275, 354]
	  Open			  off
	  NumInputPorts		  "1"
	  List {
	    ListType		    AxesTitles
	    axes1		    "%<SignalLabel>"
	  }
	  SaveName		  "ScopeData12"
	  DataFormat		  "StructureWithTime"
	  SampleTime		  "0"
	}
	Block {
	  BlockType		  Scope
	  Name			  "code2"
	  Ports			  [1]
	  Position		  [185, 29, 215, 61]
	  Floating		  off
	  Location		  [951, 115, 1275, 354]
	  Open			  off
	  NumInputPorts		  "1"
	  List {
	    ListType		    AxesTitles
	    axes1		    "%<SignalLabel>"
	  }
	  SaveName		  "ScopeData16"
	  DataFormat		  "StructureWithTime"
	  SampleTime		  "0"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out1"
	  Position		  [225, 73, 255, 87]
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Line {
	  SrcBlock		  "Hadamard\nCode Generator"
	  SrcPort		  1
	  Points		  [5, 0]
	  Branch {
	    DstBlock		    "code"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [10, 0]
	    DstBlock		    "Saturation2"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Saturation2"
	  SrcPort		  1
	  Points		  [0, 5; 25, 0]
	  Branch {
	    Points		    [-35, 0]
	    DstBlock		    "code2"
	    DstPort		    1
	  }
	  Branch {
	    DstBlock		    "Out1"
	    DstPort		    1
	  }
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "code_4"
      Ports		      [0, 1]
      Position		      [300, 725, 340, 785]
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      FunctionWithSeparateData off
      MaskHideContents	      off
      System {
	Name			"code_4"
	Location		[82, 171, 362, 345]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
	TiledPageScale		1
	ShowPageBoundaries	off
	ZoomFactor		"100"
	Block {
	  BlockType		  Reference
	  Name			  "Hadamard\nCode Generator"
	  Ports			  [0, 1]
	  Position		  [25, 83, 110, 127]
	  SourceBlock		  "commseqgen2/Hadamard\nCode Generator"
	  SourceType		  "Hadamard Code Generator"
	  ShowPortLabels	  "FromPortIcon"
	  SystemSampleTime	  "-1"
	  FunctionWithSeparateData off
	  RTWMemSecFuncInitTerm	  "Inherit from model"
	  RTWMemSecFuncExecute	  "Inherit from model"
	  RTWMemSecDataConstants  "Inherit from model"
	  RTWMemSecDataInternal	  "Inherit from model"
	  RTWMemSecDataParameters "Inherit from model"
	  length		  "32"
	  index			  "22"
	  ts			  "1/32"
	  frameBased		  off
	  sampPerFrame		  "1"
	  outDataType		  "double"
	}
	Block {
	  BlockType		  Saturate
	  Name			  "Saturation2"
	  Position		  [145, 60, 175, 90]
	  UpperLimit		  "1"
	  LowerLimit		  "0"
	}
	Block {
	  BlockType		  Scope
	  Name			  "code"
	  Ports			  [1]
	  Po

⌨️ 快捷键说明

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