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

📄 illustration_of_tcr_masked.mdl

📁 MATLAB6P5下的GUI设计-实时参数二阶时域曲线的自动绘制.rar
💻 MDL
📖 第 1 页 / 共 5 页
字号:
      SampleInput	      off
      SampleTime	      "0"
    }
    Block {
      BlockType		      Scope
      Name		      "Scope2"
      Ports		      [1]
      Position		      [175, 299, 205, 331]
      Floating		      off
      Location		      [427, 270, 751, 509]
      Open		      off
      NumInputPorts	      "1"
      TickLabels	      "OneTimeTick"
      ZoomMode		      "yonly"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      List {
	ListType		SelectedSignals
	axes1			""
      }
      Grid		      "on"
      TimeRange		      "auto"
      YMin		      "-5"
      YMax		      "5"
      SaveToWorkspace	      on
      SaveName		      "a1"
      DataFormat	      "Array"
      LimitDataPoints	      off
      MaxDataPoints	      "5000"
      Decimation	      "1"
      SampleInput	      off
      SampleTime	      "0"
    }
    Block {
      BlockType		      SubSystem
      Name		      "ab波形"
      Ports		      [0, 1]
      Position		      [60, 20, 100, 80]
      ShowPortLabels	      on
      TreatAsAtomicUnit	      off
      RTWSystemCode	      "Auto"
      RTWFcnNameOpts	      "Auto"
      RTWFileNameOpts	      "Auto"
      MaskDescription	      "输入ab正向触发角a和反向触发角a1,用示波器在输出"
"端可以观察到ab线电压和电流波形\na相电压用sin(wt)表示,触发角从线电压最值处开"
"始计时\nab相电压sin(wt+pi/6)\n"
      MaskPromptString	      "ab反向触发角(弧度)|ab正向触发角(弧度)"
      MaskStyleString	      "edit,edit"
      MaskTunableValueString  "on,on"
      MaskCallbackString      "|"
      MaskEnableString	      "on,on"
      MaskVisibilityString    "on,on"
      MaskToolTipString	      "on,on"
      MaskVariables	      "a1=@1;a=@2;"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      MaskValueString	      "pi/16|pi/8"
      MaskVariableAliases     ","
      System {
	Name			"ab波形"
	Location		[184, 84, 654, 511]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"automatic"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  Gain
	  Name			  "Gain"
	  Position		  [105, 40, 135, 70]
	  Gain			  "-1"
	  Multiplication	  "Element-wise(K.*u)"
	  SaturateOnIntegerOverflow on
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain1"
	  Position		  [105, 230, 135, 260]
	  Gain			  "-1"
	  Multiplication	  "Element-wise(K.*u)"
	  SaturateOnIntegerOverflow on
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain2"
	  Position		  [225, 230, 255, 260]
	  Gain			  "-1"
	  Multiplication	  "Element-wise(K.*u)"
	  SaturateOnIntegerOverflow on
	}
	Block {
	  BlockType		  Mux
	  Name			  "Mux"
	  Ports			  [3, 1]
	  Position		  [385, 156, 390, 194]
	  ShowName		  off
	  Inputs		  "3"
	  DisplayOption		  "bar"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum"
	  Ports			  [2, 1]
	  Position		  [165, 45, 185, 65]
	  ShowName		  off
	  IconShape		  "round"
	  Inputs		  "|++"
	  SaturateOnIntegerOverflow on
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum1"
	  Ports			  [2, 1]
	  Position		  [165, 235, 185, 255]
	  ShowName		  off
	  IconShape		  "round"
	  Inputs		  "|++"
	  SaturateOnIntegerOverflow on
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum3"
	  Ports			  [2, 1]
	  Position		  [90, 115, 110, 135]
	  ShowName		  off
	  IconShape		  "round"
	  Inputs		  "|++"
	  SaturateOnIntegerOverflow on
	}
	Block {
	  BlockType		  Switch
	  Name			  "Switch"
	  Position		  [270, 94, 300, 176]
	  Threshold		  "0"
	}
	Block {
	  BlockType		  Switch
	  Name			  "Switch1"
	  Position		  [285, 204, 315, 286]
	  Threshold		  "0"
	}
	Block {
	  BlockType		  Trigonometry
	  Name			  "Trigonometric\nFunction"
	  Ports			  [1, 1]
	  Position		  [140, 110, 170, 140]
	  Operator		  "cos"
	  OutputSignalType	  "auto"
	}
	Block {
	  BlockType		  Trigonometry
	  Name			  "Trigonometric\nFunction1"
	  Ports			  [1, 1]
	  Position		  [140, 280, 170, 310]
	  Operator		  "sin"
	  OutputSignalType	  "auto"
	}
	Block {
	  BlockType		  Constant
	  Name			  "a"
	  Position		  [25, 155, 55, 185]
	  Value			  "a"
	  VectorParams1D	  on
	}
	Block {
	  BlockType		  Constant
	  Name			  "a1"
	  Position		  [85, 280, 115, 310]
	  Value			  "a1"
	  VectorParams1D	  on
	}
	Block {
	  BlockType		  Constant
	  Name			  "a2"
	  Position		  [225, 285, 255, 315]
	  ShowName		  off
	  Value			  "0"
	  VectorParams1D	  on
	}
	Block {
	  BlockType		  Constant
	  Name			  "a3"
	  Position		  [205, 160, 235, 190]
	  ShowName		  off
	  Value			  "0"
	  VectorParams1D	  on
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "cos(wt+pi/6)\n"
	  Ports			  [0, 1]
	  Position		  [25, 25, 65, 85]
	  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	  "30|1|50"
	  MaskVariableAliases	  ",,"
	  System {
	    Name		    "cos(wt+pi/6)\n"
	    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+pi/6)\n1"
	  Ports			  [0, 1]
	  Position		  [25, 215, 65, 275]
	  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	  "30|1|50"
	  MaskVariableAliases	  ",,"
	  System {
	    Name		    "cos(wt+pi/6)\n1"
	    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 {

⌨️ 快捷键说明

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