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

📄 main_circuit.mdl

📁 MATLAB6P5下的GUI设计-实时参数二阶时域曲线的自动绘制.rar
💻 MDL
📖 第 1 页 / 共 5 页
字号:
		  Multiplication	  "Element-wise(K.*u)"
		  SaturateOnIntegerOverflow on
		}
		Block {
		  BlockType		  Product
		  Name			  "Product"
		  Ports			  [2, 1]
		  Position		  [460, 171, 505, 204]
		  Inputs		  "2"
		  Multiplication	  "Element-wise(.*)"
		  SaturateOnIntegerOverflow on
		}
		Block {
		  BlockType		  Sum
		  Name			  "Sum"
		  Ports			  [2, 1]
		  Position		  [255, 136, 295, 249]
		  ShowName		  off
		  IconShape		  "rectangular"
		  Inputs		  "++"
		  SaturateOnIntegerOverflow on
		}
		Block {
		  BlockType		  Trigonometry
		  Name			  "Trigonometric\nFunction"
		  Ports			  [1, 1]
		  Position		  [360, 180, 390, 210]
		  Operator		  "sin"
		  OutputSignalType	  "auto"
		}
		Block {
		  BlockType		  Constant
		  Name			  "amplitude\n"
		  Position		  [30, 27, 85, 63]
		  Value			  "Amplitude"
		  VectorParams1D	  on
		}
		Block {
		  BlockType		  Constant
		  Name			  "pahse\n"
		  Position		  [25, 225, 55, 255]
		  Value			  "phase"
		  VectorParams1D	  on
		}
		Block {
		  BlockType		  Outport
		  Name			  "Out1"
		  Position		  [560, 183, 590, 197]
		  Port			  "1"
		  OutputWhenDisabled	  "held"
		  InitialOutput		  "[]"
		}
		Line {
		  SrcBlock		  "Trigonometric\nFunction"
		  SrcPort		  1
		  DstBlock		  "Product"
		  DstPort		  2
		}
		Line {
		  SrcBlock		  "Product"
		  SrcPort		  1
		  DstBlock		  "Out1"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "amplitude\n"
		  SrcPort		  1
		  Points		  [355, 0]
		  DstBlock		  "Product"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Sum"
		  SrcPort		  1
		  DstBlock		  "Trigonometric\nFunction"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Gain1"
		  SrcPort		  1
		  Points		  [35, 0; 0, -20]
		  DstBlock		  "Sum"
		  DstPort		  2
		}
		Line {
		  SrcBlock		  "Gain"
		  SrcPort		  1
		  Points		  [25, 0; 0, 20]
		  DstBlock		  "Sum"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "pahse\n"
		  SrcPort		  1
		  DstBlock		  "Gain1"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Clock"
		  SrcPort		  1
		  DstBlock		  "Gain"
		  DstPort		  1
		}
	      }
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "sin(wt+120)"
	      Ports		      [0, 1]
	      Position		      [230, 580, 270, 640]
	      ShowPortLabels	      on
	      TreatAsAtomicUnit	      off
	      RTWSystemCode	      "Auto"
	      RTWFcnNameOpts	      "Auto"
	      RTWFileNameOpts	      "Auto"
	      MaskType		      "sin(wt+phase)"
	      MaskDescription	      "Amplitude*sin(wt+phase)"
	      MaskPromptString	      "相位|幅值|频率"
	      MaskStyleString	      "edit,edit,edit"
	      MaskTunableValueString  "on,on,on"
	      MaskCallbackString      "||"
	      MaskEnableString	      "on,on,on"
	      MaskVisibilityString    "on,on,on"
	      MaskToolTipString	      "on,on,on"
	      MaskVariables	      "phase=@1;Amplitude=@2;f=@3;"
	      MaskIconFrame	      on
	      MaskIconOpaque	      on
	      MaskIconRotate	      "none"
	      MaskIconUnits	      "autoscale"
	      MaskValueString	      "120|1|50"
	      MaskVariableAliases     ",,"
	      System {
		Name			"sin(wt+120)"
		Location		[27, 112, 815, 496]
		Open			off
		ModelBrowserVisibility	off
		ModelBrowserWidth	200
		ScreenColor		"automatic"
		PaperOrientation	"landscape"
		PaperPositionMode	"auto"
		PaperType		"A4"
		PaperUnits		"centimeters"
		ZoomFactor		"100"
		Block {
		  BlockType		  Clock
		  Name			  "Clock"
		  Position		  [25, 135, 45, 155]
		  DisplayTime		  off
		  Decimation		  "1"
		}
		Block {
		  BlockType		  Gain
		  Name			  "Gain"
		  Position		  [105, 127, 175, 163]
		  Gain			  "2*pi*f"
		  Multiplication	  "Element-wise(K.*u)"
		  SaturateOnIntegerOverflow on
		}
		Block {
		  BlockType		  Gain
		  Name			  "Gain1"
		  Position		  [105, 222, 170, 258]
		  Gain			  "pi/180"
		  Multiplication	  "Element-wise(K.*u)"
		  SaturateOnIntegerOverflow on
		}
		Block {
		  BlockType		  Product
		  Name			  "Product"
		  Ports			  [2, 1]
		  Position		  [460, 171, 505, 204]
		  Inputs		  "2"
		  Multiplication	  "Element-wise(.*)"
		  SaturateOnIntegerOverflow on
		}
		Block {
		  BlockType		  Sum
		  Name			  "Sum"
		  Ports			  [2, 1]
		  Position		  [255, 136, 295, 249]
		  ShowName		  off
		  IconShape		  "rectangular"
		  Inputs		  "++"
		  SaturateOnIntegerOverflow on
		}
		Block {
		  BlockType		  Trigonometry
		  Name			  "Trigonometric\nFunction"
		  Ports			  [1, 1]
		  Position		  [360, 180, 390, 210]
		  Operator		  "sin"
		  OutputSignalType	  "auto"
		}
		Block {
		  BlockType		  Constant
		  Name			  "amplitude\n"
		  Position		  [30, 27, 85, 63]
		  Value			  "Amplitude"
		  VectorParams1D	  on
		}
		Block {
		  BlockType		  Constant
		  Name			  "pahse\n"
		  Position		  [25, 225, 55, 255]
		  Value			  "phase"
		  VectorParams1D	  on
		}
		Block {
		  BlockType		  Outport
		  Name			  "Out1"
		  Position		  [560, 183, 590, 197]
		  Port			  "1"
		  OutputWhenDisabled	  "held"
		  InitialOutput		  "[]"
		}
		Line {
		  SrcBlock		  "Trigonometric\nFunction"
		  SrcPort		  1
		  DstBlock		  "Product"
		  DstPort		  2
		}
		Line {
		  SrcBlock		  "Product"
		  SrcPort		  1
		  DstBlock		  "Out1"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "amplitude\n"
		  SrcPort		  1
		  Points		  [355, 0]
		  DstBlock		  "Product"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Sum"
		  SrcPort		  1
		  DstBlock		  "Trigonometric\nFunction"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Gain1"
		  SrcPort		  1
		  Points		  [35, 0; 0, -20]
		  DstBlock		  "Sum"
		  DstPort		  2
		}
		Line {
		  SrcBlock		  "Gain"
		  SrcPort		  1
		  Points		  [25, 0; 0, 20]
		  DstBlock		  "Sum"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "pahse\n"
		  SrcPort		  1
		  DstBlock		  "Gain1"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Clock"
		  SrcPort		  1
		  DstBlock		  "Gain"
		  DstPort		  1
		}
	      }
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "sin(wt-120)"
	      Ports		      [0, 1]
	      Position		      [230, 475, 270, 535]
	      ShowPortLabels	      on
	      TreatAsAtomicUnit	      off
	      RTWSystemCode	      "Auto"
	      RTWFcnNameOpts	      "Auto"
	      RTWFileNameOpts	      "Auto"
	      MaskType		      "sin(wt+phase)"
	      MaskDescription	      "Amplitude*sin(wt+phase)"
	      MaskPromptString	      "相位|幅值|频率"
	      MaskStyleString	      "edit,edit,edit"
	      MaskTunableValueString  "on,on,on"
	      MaskCallbackString      "||"
	      MaskEnableString	      "on,on,on"
	      MaskVisibilityString    "on,on,on"
	      MaskToolTipString	      "on,on,on"
	      MaskVariables	      "phase=@1;Amplitude=@2;f=@3;"
	      MaskIconFrame	      on
	      MaskIconOpaque	      on
	      MaskIconRotate	      "none"
	      MaskIconUnits	      "autoscale"
	      MaskValueString	      "-120|1|50"
	      MaskVariableAliases     ",,"
	      System {
		Name			"sin(wt-120)"
		Location		[27, 112, 815, 496]
		Open			off
		ModelBrowserVisibility	off
		ModelBrowserWidth	200
		ScreenColor		"automatic"
		PaperOrientation	"landscape"
		PaperPositionMode	"auto"
		PaperType		"A4"
		PaperUnits		"centimeters"
		ZoomFactor		"100"
		Block {
		  BlockType		  Clock
		  Name			  "Clock"
		  Position		  [25, 135, 45, 155]
		  DisplayTime		  off
		  Decimation		  "1"
		}
		Block {
		  BlockType		  Gain
		  Name			  "Gain"
		  Position		  [105, 127, 175, 163]
		  Gain			  "2*pi*f"
		  Multiplication	  "Element-wise(K.*u)"
		  SaturateOnIntegerOverflow on
		}
		Block {
		  BlockType		  Gain
		  Name			  "Gain1"
		  Position		  [105, 222, 170, 258]
		  Gain			  "pi/180"
		  Multiplication	  "Element-wise(K.*u)"
		  SaturateOnIntegerOverflow on
		}
		Block {
		  BlockType		  Product
		  Name			  "Product"
		  Ports			  [2, 1]
		  Position		  [460, 171, 505, 204]
		  Inputs		  "2"
		  Multiplication	  "Element-wise(.*)"
		  SaturateOnIntegerOverflow on
		}
		Block {
		  BlockType		  Sum
		  Name			  "Sum"
		  Ports			  [2, 1]
		  Position		  [255, 136, 295, 249]
		  ShowName		  off
		  IconShape		  "rectangular"
		  Inputs		  "++"
		  SaturateOnIntegerOverflow on
		}
		Block {
		  BlockType		  Trigonometry
		  Name			  "Trigonometric\nFunction"
		  Ports			  [1, 1]
		  Position		  [360, 180, 390, 210]
		  Operator		  "sin"
		  OutputSignalType	  "auto"
		}
		Block {
		  BlockType		  Constant
		  Name			  "amplitude\n"
		  Position		  [30, 27, 85, 63]
		  Value			  "Amplitude"
		  VectorParams1D	  on
		}
		Block {
		  BlockType		  Constant
		  Name			  "pahse\n"
		  Position		  [25, 225, 55, 255]
		  Value			  "phase"
		  VectorParams1D	  on
		}
		Block {
		  BlockType		  Outport
		  Name			  "Out1"
		  Position		  [560, 183, 590, 197]
		  Port			  "1"
		  OutputWhenDisabled	  "held"
		  InitialOutput		  "[]"
		}
		Line {
		  SrcBlock		  "Trigonometric\nFunction"
		  SrcPort		  1
		  DstBlock		  "Product"
		  DstPort		  2
		}
		Line {
		  SrcBlock		  "Product"
		  SrcPort		  1
		  DstBlock		  "Out1"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "amplitude\n"
		  SrcPort		  1
		  Points		  [355, 0]
		  DstBlock		  "Product"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Sum"
		  SrcPort		  1
		  DstBlock		  "Trigonometric\nFunction"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Gain1"
		  SrcPort		  1
		  Points		  [35, 0; 0, -20]
		  DstBlock		  "Sum"
		  DstPort		  2
		}
		Line {
		  SrcBlock		  "Gain"
		  SrcPort		  1
		  Points		  [25, 0; 0, 20]
		  DstBlock		  "Sum"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "pahse\n"
		  SrcPort		  1
		  DstBlock		  "Gain1"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Clock"
		  SrcPort		  1
		  DstBlock		  "Gain"
		  DstPort		  1
		}
	      }
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "sqrt(2/3)"
	      Position		      [575, 110, 660, 150]
	      Gain		      "0.8164965"
	      Multiplication	      "Element-wise(K.*u)"
	      SaturateOnIntegerOverflow	on
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "sqrt(2/3)1"
	      Position		      [590, 405, 675, 445]
	      Gain		      "0.8164965"
	      Multiplication	      "Element-wise(K.*u)"
	      SaturateOnIntegerOverflow	on
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "sqrt(2/3)2"
	      Position		      [590, 265, 675, 305]
	      Gain		      "0.8164965"
	      Multiplication	      "Element-wise(K.*u)"
	      SaturateOnIntegerOverflow	on
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "xa"
	      Position		      [690, 123, 720, 137]
	      Port		      "1"
	      OutputWhenDisabled      "held"
	      InitialOutput	      "[]"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "xb"
	      Position		      [705, 278, 735, 292]
	      Port		      "2"
	      OutputWhenDisabled      "held"
	      InitialOutput	      "[]"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "xc"
	      Position		      [705, 418, 735, 432]
	      Port		      "3"
	      OutputWhenDisabled      "held"
	      InitialOutput	      "[]"
	    }
	    Line {
	      SrcBlock		      "sin(wt+120)"
	      SrcPort		      1
	      Points		      [55, 0; 0, -45]
	      DstBlock		      "Product5"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Product5"
	      SrcPort		      1
	      Points		      [35, 0; 0, -115]
	      DstBlock		      "Sum1"

⌨️ 快捷键说明

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