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

📄 ch75.mdl

📁 《Matlab7.x系统建模与仿真光盘内容》源码
💻 MDL
📖 第 1 页 / 共 3 页
字号:
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "In1"
	  Position		  [110, 103, 140, 117]
	  Port			  "1"
	  IconDisplay		  "Port number"
	  LatchInput		  off
	}
	Block {
	  BlockType		  EnablePort
	  Name			  "Enable"
	  Ports			  []
	  Position		  [270, 20, 290, 40]
	}
	Block {
	  BlockType		  TriggerPort
	  Name			  "Trigger"
	  Ports			  []
	  Position		  [190, 20, 210, 40]
	  TriggerType		  "falling"
	  StatesWhenEnabling	  "held"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out1"
	  Position		  [360, 103, 390, 117]
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Line {
	  SrcBlock		  "In1"
	  SrcPort		  1
	  DstBlock		  "Out1"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      Gain
      Name		      "Gain"
      Position		      [210, 120, 240, 150]
      Gain		      "-1"
      ParameterDataTypeMode   "Inherit via internal rule"
      OutDataTypeMode	      "Inherit via internal rule"
      SaturateOnIntegerOverflow	off
    }
    Block {
      BlockType		      Gain
      Name		      "Gain1"
      Position		      [210, 315, 240, 345]
      Gain		      "-1"
      ParameterDataTypeMode   "Inherit via internal rule"
      OutDataTypeMode	      "Inherit via internal rule"
      SaturateOnIntegerOverflow	off
    }
    Block {
      BlockType		      Mux
      Name		      "Mux1"
      Ports		      [2, 1]
      Position		      [405, 371, 410, 409]
      ShowName		      off
      Inputs		      "2"
      DisplayOption	      "bar"
    }
    Block {
      BlockType		      Mux
      Name		      "Mux2"
      Ports		      [2, 1]
      Position		      [405, 266, 410, 304]
      ShowName		      off
      Inputs		      "2"
      DisplayOption	      "bar"
    }
    Block {
      BlockType		      Mux
      Name		      "Mux3"
      Ports		      [2, 1]
      Position		      [410, 166, 415, 204]
      ShowName		      off
      Inputs		      "2"
      DisplayOption	      "bar"
    }
    Block {
      BlockType		      Mux
      Name		      "Mux4"
      Ports		      [2, 1]
      Position		      [405, 56, 410, 94]
      ShowName		      off
      Inputs		      "2"
      DisplayOption	      "bar"
    }
    Block {
      BlockType		      DiscretePulseGenerator
      Name		      "Pulse\nGenerator"
      Ports		      [0, 1]
      Position		      [25, 13, 70, 47]
      PulseType		      "Time based"
      Period		      "1"
      PulseWidth	      "50"
    }
    Block {
      BlockType		      DiscretePulseGenerator
      Name		      "Pulse\nGenerator1"
      Ports		      [0, 1]
      Position		      [25, 133, 70, 167]
      PulseType		      "Time based"
      Period		      "0.5"
      PulseWidth	      "50"
    }
    Block {
      BlockType		      Scope
      Name		      "Scope"
      Ports		      [6]
      Position		      [465, 91, 505, 254]
      Location		      [142, 56, 662, 605]
      Open		      off
      NumInputPorts	      "6"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
	axes2			"%<SignalLabel>"
	axes3			"%<SignalLabel>"
	axes4			"%<SignalLabel>"
	axes5			"%<SignalLabel>"
	axes6			"%<SignalLabel>"
      }
      TimeRange		      "10"
      YMin		      "-0.8~-0.8~-1.2~-1.2~-1.2~-1.2"
      YMax		      "0.8~0.8~1.2~1.2~1.2~1.2"
      DataFormat	      "StructureWithTime"
    }
    Block {
      BlockType		      Sin
      Name		      "Sine Wave"
      Ports		      [0, 1]
      Position		      [35, 365, 65, 395]
      SineType		      "Time based"
      SampleTime	      "0"
    }
    Block {
      BlockType		      Sum
      Name		      "Subtract"
      Ports		      [2, 1]
      Position		      [105, 12, 135, 43]
      Inputs		      "+-"
      InputSameDT	      off
      OutDataTypeMode	      "Inherit via internal rule"
      OutScaling	      "2^-10"
      SaturateOnIntegerOverflow	off
    }
    Block {
      BlockType		      Sum
      Name		      "Subtract1"
      Ports		      [2, 1]
      Position		      [105, 142, 135, 173]
      Inputs		      "+-"
      InputSameDT	      off
      OutDataTypeMode	      "Inherit via internal rule"
      OutScaling	      "2^-10"
      SaturateOnIntegerOverflow	off
    }
    Line {
      SrcBlock		      "Pulse\nGenerator"
      SrcPort		      1
      Points		      [0, -10]
      DstBlock		      "Subtract"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Constant"
      SrcPort		      1
      Points		      [10, 0; 0, -60]
      DstBlock		      "Subtract"
      DstPort		      2
    }
    Line {
      SrcBlock		      "Sine Wave"
      SrcPort		      1
      Points		      [0, 0; 75, 0]
      Branch {
	Points			[0, 0; 50, 0]
	Branch {
	  DstBlock		  "Enabled and\nTriggered Subsystem3"
	  DstPort		  1
	}
	Branch {
	  Points		  [0, -115]
	  Branch {
	    Points		    [0, -95]
	    Branch {
	      Points		      [0, -105]
	      DstBlock		      "Enabled and\nTriggered Subsystem"
	      DstPort		      1
	    }
	    Branch {
	      DstBlock		      "Enabled and\nTriggered Subsystem1"
	      DstPort		      1
	    }
	  }
	  Branch {
	    DstBlock		    "Enabled and\nTriggered Subsystem2"
	    DstPort		    1
	  }
	}
      }
      Branch {
	Points			[0, 50; 215, 0; 0, -30]
	Branch {
	  DstBlock		  "Mux1"
	  DstPort		  2
	}
	Branch {
	  Points		  [0, -105]
	  Branch {
	    DstBlock		    "Mux2"
	    DstPort		    2
	  }
	  Branch {
	    Points		    [0, -100]
	    Branch {
	      DstBlock		      "Mux3"
	      DstPort		      2
	    }
	    Branch {
	      Points		      [0, -110]
	      DstBlock		      "Mux4"
	      DstPort		      2
	    }
	  }
	}
      }
    }
    Line {
      SrcBlock		      "Pulse\nGenerator1"
      SrcPort		      1
      DstBlock		      "Subtract1"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Constant1"
      SrcPort		      1
      Points		      [10, 0; 0, -50]
      DstBlock		      "Subtract1"
      DstPort		      2
    }
    Line {
      SrcBlock		      "Subtract"
      SrcPort		      1
      Points		      [0, -10; 35, 0]
      Branch {
	Points			[0, 115]
	Branch {
	  DstBlock		  "Gain"
	  DstPort		  1
	}
	Branch {
	  Points		  [0, 90]
	  Branch {
	    Points		    [75, 0]
	    DstBlock		    "Enabled and\nTriggered Subsystem2"
	    DstPort		    enable
	  }
	  Branch {
	    Points		    [0, 105]
	    DstBlock		    "Gain1"
	    DstPort		    1
	  }
	}
      }
      Branch {
	Points			[75, 0]
	Branch {
	  DstBlock		  "Enabled and\nTriggered Subsystem"
	  DstPort		  enable
	}
	Branch {
	  Points		  [200, 0]
	  DstBlock		  "Scope"
	  DstPort		  1
	}
      }
    }
    Line {
      SrcBlock		      "Subtract1"
      SrcPort		      1
      Points		      [0, 0; 15, 0]
      Branch {
	Points			[0, -45]
	Branch {
	  Points		  [0, -90; 145, 0]
	  DstBlock		  "Enabled and\nTriggered Subsystem"
	  DstPort		  trigger
	}
	Branch {
	  Points		  [145, 0]
	  Branch {
	    DstBlock		    "Enabled and\nTriggered Subsystem1"
	    DstPort		    trigger
	  }
	  Branch {
	    Points		    [150, 0]
	    DstBlock		    "Scope"
	    DstPort		    2
	  }
	}
      }
      Branch {
	Points			[0, 60]
	Branch {
	  Points		  [0, 94; 145, 0]
	  DstBlock		  "Enabled and\nTriggered Subsystem3"
	  DstPort		  trigger
	}
	Branch {
	  Points		  [145, 0]
	  DstBlock		  "Enabled and\nTriggered Subsystem2"
	  DstPort		  trigger
	}
      }
    }
    Line {
      SrcBlock		      "Enabled and\nTriggered Subsystem3"
      SrcPort		      1
      DstBlock		      "Mux1"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Enabled and\nTriggered Subsystem2"
      SrcPort		      1
      Points		      [0, 10]
      DstBlock		      "Mux2"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Enabled and\nTriggered Subsystem1"
      SrcPort		      1
      Points		      [0, 5]
      DstBlock		      "Mux3"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Enabled and\nTriggered Subsystem"
      SrcPort		      1
      DstBlock		      "Mux4"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Mux1"
      SrcPort		      1
      Points		      [15, 0; 0, -155]
      DstBlock		      "Scope"
      DstPort		      6
    }
    Line {
      SrcBlock		      "Mux2"
      SrcPort		      1
      Points		      [5, 0; 0, -75]
      DstBlock		      "Scope"
      DstPort		      5
    }
    Line {
      SrcBlock		      "Mux3"
      SrcPort		      1
      DstBlock		      "Scope"
      DstPort		      4
    }
    Line {
      SrcBlock		      "Mux4"
      SrcPort		      1
      Points		      [15, 0; 0, 85]
      DstBlock		      "Scope"
      DstPort		      3
    }
    Line {
      SrcBlock		      "Gain"
      SrcPort		      1
      Points		      [5, 0]
      DstBlock		      "Enabled and\nTriggered Subsystem1"
      DstPort		      enable
    }
    Line {
      SrcBlock		      "Gain1"
      SrcPort		      1
      Points		      [5, 0]
      DstBlock		      "Enabled and\nTriggered Subsystem3"
      DstPort		      enable
    }
  }
}

⌨️ 快捷键说明

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