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

📄 test_1.mdl

📁 MATLAB6P5下的GUI设计-实时参数二阶时域曲线的自动绘制.rar
💻 MDL
📖 第 1 页 / 共 5 页
字号:
	    }
	    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"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Product4"
	      SrcPort		      1
	      Points		      [35, 0; 0, -55]
	      DstBlock		      "Sum1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "cos(wt+120)\n"
	      SrcPort		      1
	      Points		      [100, 0; 0, 150]
	      DstBlock		      "Product4"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "sqrt(2/3)1"
	      SrcPort		      1
	      DstBlock		      "xc"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "sqrt(2/3)2"
	      SrcPort		      1
	      DstBlock		      "xb"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Sum2"
	      SrcPort		      1
	      DstBlock		      "sqrt(2/3)2"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Product3"
	      SrcPort		      1
	      Points		      [30, 0; 0, -45]
	      DstBlock		      "Sum2"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "sin(wt-120)"
	      SrcPort		      1
	      Points		      [90, 0; 0, -165]
	      DstBlock		      "Product3"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Product2"
	      SrcPort		      1
	      Points		      [35, 0; 0, 35]
	      DstBlock		      "Sum2"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "cos\n(wt-120)"
	      SrcPort		      1
	      Points		      [95, 0]
	      DstBlock		      "Product2"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Product1"
	      SrcPort		      1
	      Points		      [45, 0; 0, 20]
	      DstBlock		      "Sum"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Product"
	      SrcPort		      1
	      Points		      [45, 0; 0, 65]
	      DstBlock		      "Sum"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "sin(wt)"
	      SrcPort		      1
	      Points		      [70, 0]
	      DstBlock		      "Product1"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "xq"
	      SrcPort		      1
	      Points		      [0, 0; 80, 0]
	      Branch {
		Points			[0, 235]
		DstBlock		"Product3"
		DstPort			2
	      }
	      Branch {
		Points			[65, 0]
		Branch {
		  Points		  [25, 0; 0, 20; 80, 0; 0, -20]
		  DstBlock		  "Product1"
		  DstPort		  1
		}
		Branch {
		  Points		  [0, 430]
		  DstBlock		  "Product5"
		  DstPort		  1
		}
	      }
	    }
	    Line {
	      SrcBlock		      "cos(wt)\n"
	      SrcPort		      1
	      Points		      [35, 0; 0, -25]
	      DstBlock		      "Product"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "xd"
	      SrcPort		      1
	      Points		      [0, 0; 60, 0]
	      Branch {
		Points			[0, 200]
		DstBlock		"Product2"
		DstPort			2
	      }
	      Branch {
		Points			[55, 0]
		Branch {
		  DstBlock		  "Product"
		  DstPort		  1
		}
		Branch {
		  Points		  [0, 430]
		  DstBlock		  "Product4"
		  DstPort		  2
		}
	      }
	    }
	    Line {
	      SrcBlock		      "Sum1"
	      SrcPort		      1
	      DstBlock		      "sqrt(2/3)1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "sqrt(2/3)"
	      SrcPort		      1
	      DstBlock		      "xa"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Sum"
	      SrcPort		      1
	      DstBlock		      "sqrt(2/3)"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "converter32"
	  Ports			  [3, 2]
	  Position		  [80, 35, 120, 95]
	  ShowPortLabels	  on
	  TreatAsAtomicUnit	  off
	  RTWSystemCode		  "Auto"
	  RTWFcnNameOpts	  "Auto"
	  RTWFileNameOpts	  "Auto"
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	  System {
	    Name		    "converter32"
	    Location		    [82, 74, 852, 713]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "automatic"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "xa"
	      Position		      [35, 28, 65, 42]
	      Port		      "1"
	      LatchInput	      off
	      Interpolate	      on
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "xb"
	      Position		      [35, 113, 65, 127]
	      Port		      "2"
	      LatchInput	      off
	      Interpolate	      on
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "xc"
	      Position		      [25, 213, 55, 227]
	      Port		      "3"
	      LatchInput	      off
	      Interpolate	      on
	    }
	    Block {
	      BlockType		      Product
	      Name		      "Product"
	      Ports		      [2, 1]
	      Position		      [370, 36, 415, 69]
	      Inputs		      "2"
	      Multiplication	      "Element-wise(.*)"
	      SaturateOnIntegerOverflow	on
	    }
	    Block {
	      BlockType		      Product
	      Name		      "Product1"
	      Ports		      [2, 1]
	      Position		      [370, 111, 415, 144]
	      Inputs		      "2"
	      Multiplication	      "Element-wise(.*)"
	      SaturateOnIntegerOverflow	on
	    }
	    Block {
	      BlockType		      Product
	      Name		      "Product2"
	      Ports		      [2, 1]
	      Position		      [370, 211, 415, 244]
	      Inputs		      "2"
	      Multiplication	      "Element-wise(.*)"
	      SaturateOnIntegerOverflow	on
	    }
	    Block {
	      BlockType		      Product
	      Name		      "Product3"
	      Ports		      [2, 1]
	      Position		      [385, 336, 430, 369]
	      Inputs		      "2"
	      Multiplication	      "Element-wise(.*)"
	      SaturateOnIntegerOverflow	on
	    }
	    Block {
	      BlockType		      Product
	      Name		      "Product4"
	      Ports		      [2, 1]
	      Position		      [385, 441, 430, 474]
	      Inputs		      "2"
	      Multiplication	      "Element-wise(.*)"
	      SaturateOnIntegerOverflow	on
	    }
	    Block {
	      BlockType		      Product
	      Name		      "Product5"
	      Ports		      [2, 1]
	      Position		      [385, 536, 430, 569]
	      Inputs		      "2"
	      Multiplication	      "Element-wise(.*)"
	      SaturateOnIntegerOverflow	on
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum"
	      Ports		      [3, 1]
	      Position		      [530, 90, 550, 170]
	      ShowName		      off
	      IconShape		      "rectangular"
	      Inputs		      "+++"
	      SaturateOnIntegerOverflow	on
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum1"
	      Ports		      [3, 1]
	      Position		      [545, 385, 565, 465]
	      ShowName		      off
	      IconShape		      "rectangular"
	      Inputs		      "+++"
	      SaturateOnIntegerOverflow	on
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "cos\n(wt-120)"
	      Ports		      [0, 1]
	      Position		      [240, 135, 280, 195]
	      ShowPortLabels	      on
	      TreatAsAtomicUnit	      off
	      RTWSystemCode	      "Auto"
	      RTWFcnNameOpts	      "Auto"
	      RTWFileNameOpts	      "Auto"
	      MaskType		      "cos(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			"cos\n(wt-120)"
		Location		[-8, 74, 607, 357]
		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, 130, 45, 150]
		  DisplayTime		  off
		  Decimation		  "1"
		}
		Block {
		  BlockType		  Gain
		  Name			  "Gain"
		  Position		  [105, 122, 175, 158]
		  Gain			  "2*pi*f"
		  Multiplication	  "Element-wise(K.*u)"
		  SaturateOnIntegerOverflow on
		}
		Block {
		  BlockType		  Gain
		  Name			  "Gain1"
		  Position		  [105, 217, 170, 253]
		  Gain			  "pi/180"
		  Multiplication	  "Element-wise(K.*u)"
		  SaturateOnIntegerOverflow on
		}
		Block {
		  BlockType		  Product
		  Name			  "Product"
		  Ports			  [2, 1]
		  Position		  [460, 166, 505, 199]
		  Inputs		  "2"
		  Multiplication	  "Element-wise(.*)"
		  SaturateOnIntegerOverflow on
		}
		Block {
		  BlockType		  Sum
		  Name			  "Sum"
		  Ports			  [2, 1]
		  Position		  [255, 131, 295, 244]
		  ShowName		  off
		  IconShape		  "rectangular"
		  Inputs		  "++"
		  SaturateOnIntegerOverflow on
		}
		Block {
		  BlockType		  Trigonometry
		  Name			  "Trigonometric\nFunction"
		  Ports			  [1, 1]
		  Position		  [360, 175, 390, 205]
		  Operator		  "cos"
		  OutputSignalType	  "auto"
		}
		Block {
		  BlockType		  Constant
		  Name			  "amplitude\n"
		  Position		  [30, 22, 85, 58]
		  Value			  "Amplitude"
		  VectorParams1D	  on
		}
		Block {
		  BlockType		  Constant
		  Name			  "pahse\n"
		  Position		  [25, 220, 55, 250]
		  Value			  "phase"
		  VectorParams1D	  on
		}
		Block {
		  BlockType		  Outport
		  Name			  "Out1"
		  Position		  [560, 178, 590, 192]
		  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		      "cos(wt)\n"
	      Ports		      [0, 1]
	      Position		      [240, 45, 280, 105]
	      ShowPortLabels	      on
	      TreatAsAtomicUnit	      off
	      RTWSystemCode	      "Auto"
	      RTWFcnNameOpts	      "Auto"
	      RTWFileNameOpts	      "Auto"
	      MaskType		      "cos(wt+phase)"
	      MaskPromptString	      "相位|幅值|频率"
	      MaskStyleString	      "edit,edit,edit"
	      MaskTunableValueString  "on,on,on"
	      MaskCallbackString      "||"
	      MaskEnableString	      "on,on,on"
	      MaskVisibilityString    "on,on,on"
	      MaskToolTipS

⌨️ 快捷键说明

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