block717.mdl

来自「realize analysis and design for computer」· MDL 代码 · 共 319 行

MDL
319
字号
Model {  Name			  "block717"  Version		  2.09  SimParamPage		  Solver  SampleTimeColors	  off  InvariantConstants	  off  WideVectorLines	  off  ShowLineWidths	  off  PaperOrientation	  landscape  PaperType		  usletter  PaperUnits		  inches  StartTime		  "0.0"  StopTime		  "10"  Solver		  ode45  RelTol		  "1e-3"  AbsTol		  "1e-6"  Refine		  "1"  MaxStep		  "auto"  InitialStep		  "auto"  FixedStep		  "0.005"  MaxOrder		  5  OutputOption		  RefineOutputTimes  OutputTimes		  "[]"  LoadExternalInput	  off  ExternalInput		  "[t, u]"  SaveTime		  off  TimeSaveName		  "tout"  SaveState		  off  StateSaveName		  "xout"  SaveOutput		  off  OutputSaveName	  "yout"  LoadInitialState	  off  InitialState		  "xInitial"  SaveFinalState	  off  FinalStateName	  "xFinal"  LimitMaxRows		  off  MaxRows		  "1000"  Decimation		  "1"  AlgebraicLoopMsg	  warning  MinStepSizeMsg	  warning  UnconnectedInputMsg	  warning  UnconnectedOutputMsg	  warning  UnconnectedLineMsg	  warning  ConsistencyChecking	  off  ZeroCross		  on  SimulationMode	  normal  RTWSystemTargetFile	  "grt.tlc"  RTWInlineParameters	  off  RTWRetainRTWFile	  off  RTWTemplateMakefile	  "grt_unix.tmf"  RTWMakeCommand	  "make_rtw"  RTWGenerateCodeOnly	  off  ExtModeMexFile	  "ext_comm"  ExtModeBatchMode	  off  BlockDefaults {    Orientation		    right    ForegroundColor	    black    BackgroundColor	    white    DropShadow		    off    NamePlacement	    normal    FontName		    "Helvetica"    FontSize		    10    FontWeight		    normal    FontAngle		    normal    ShowName		    on  }  AnnotationDefaults {    HorizontalAlignment	    center    VerticalAlignment	    middle    ForegroundColor	    black    BackgroundColor	    white    DropShadow		    off    FontName		    "Helvetica"    FontSize		    10    FontWeight		    normal    FontAngle		    normal  }  LineDefaults {    FontName		    "Helvetica"    FontSize		    9    FontWeight		    normal    FontAngle		    normal  }  System {    Name		    "block717"    Location		    [527, 62, 1104, 463]    Open		    on    ScreenColor		    white    Block {      BlockType		      Gain      Name		      "Gain"      Position		      [370, 91, 405, 139]      DropShadow	      on      ShowName		      off      Gain		      "1/C"    }    Block {      BlockType		      Integrator      Name		      "Integrator"      Ports		      [1, 1, 0, 0, 0]      Position		      [430, 105, 450, 125]      DropShadow	      on      ShowName		      off      ExternalReset	      none      InitialConditionSource      internal      InitialCondition	      "0"      LimitOutput	      off      UpperSaturationLimit      "inf"      LowerSaturationLimit      "-inf"      ShowSaturationPort      off      ShowStatePort	      off      AbsoluteTolerance	      "auto"    }    Block {      BlockType		      Product      Name		      "Product"      Ports		      [2, 1, 0, 0, 0]      Position		      [295, 103, 325, 127]      DropShadow	      on      ShowName		      off      Inputs		      "2"    }    Block {      BlockType		      Reference      Name		      "Pulse\nGenerator"      Ports		      [0, 1, 0, 0, 0]      Position		      [105, 35, 135, 65]      DropShadow	      on      ShowName		      off      SourceBlock	      "simulink/Sources/Pulse\nGenerator"      SourceType	      "Pulse Generator"      period		      "1"      duty		      "tau"      amplitude		      "1"      start		      "1"    }    Block {      BlockType		      Sin      Name		      "Sine Wave"      Position		      [50, 105, 70, 125]      DropShadow	      on      ShowName		      off      Amplitude		      "1"      Frequency		      "w"      Phase		      "0"      SampleTime	      "-1"    }    Block {      BlockType		      Sin      Name		      "Sine Wave1"      Position		      [50, 155, 70, 175]      DropShadow	      on      ShowName		      off      Amplitude		      "1"      Frequency		      "w/2"      Phase		      "0"      SampleTime	      "-1"    }    Block {      BlockType		      Sin      Name		      "Sine Wave2"      Position		      [50, 210, 70, 230]      DropShadow	      on      ShowName		      off      Amplitude		      "1"      Frequency		      "w/5"      Phase		      "0"      SampleTime	      "-1"    }    Block {      BlockType		      Sum      Name		      "Sum"      Ports		      [3, 1, 0, 0, 0]      Position		      [110, 147, 130, 183]      DropShadow	      on      ShowName		      off      Inputs		      "+++"    }    Block {      BlockType		      Sum      Name		      "Sum1"      Ports		      [2, 1, 0, 0, 0]      Position		      [170, 157, 190, 193]      DropShadow	      on      ShowName		      off      Inputs		      "+-"    }    Block {      BlockType		      Outport      Name		      "Outport"      Position		      [495, 105, 515, 125]      DropShadow	      on      ShowName		      off      Port		      "1"      OutputWhenDisabled      held      InitialOutput	      "0"    }    Block {      BlockType		      Outport      Name		      "Outport4"      Position		      [290, 40, 310, 60]      DropShadow	      on      ShowName		      off      Port		      "2"      OutputWhenDisabled      held      InitialOutput	      "0"    }    Block {      BlockType		      Outport      Name		      "Outport2"      Position		      [170, 115, 190, 135]      DropShadow	      on      ShowName		      off      Port		      "3"      OutputWhenDisabled      held      InitialOutput	      "0"    }    Block {      BlockType		      Outport      Name		      "Outport3"      Position		      [370, 55, 390, 75]      DropShadow	      on      ShowName		      off      Port		      "4"      OutputWhenDisabled      held      InitialOutput	      "0"    }    Line {      SrcBlock		      "Sine Wave"      SrcPort		      1      Points		      [20, 0]      DstBlock		      "Sum"      DstPort		      1    }    Line {      SrcBlock		      "Sine Wave1"      SrcPort		      1      DstBlock		      "Sum"      DstPort		      2    }    Line {      SrcBlock		      "Sine Wave2"      SrcPort		      1      Points		      [20, 0]      DstBlock		      "Sum"      DstPort		      3    }    Line {      SrcBlock		      "Gain"      SrcPort		      1      DstBlock		      "Integrator"      DstPort		      1    }    Line {      SrcBlock		      "Integrator"      SrcPort		      1      Points		      [0, 0]      Branch {	Points			[10, 0; 0, 95; -320, 0; 0, -25]	DstBlock		"Sum1"	DstPort			2      }      Branch {	DstBlock		"Outport"	DstPort			1      }    }    Line {      SrcBlock		      "Sum1"      SrcPort		      1      Points		      [40, 0; 0, -55]      DstBlock		      "Product"      DstPort		      2    }    Line {      SrcBlock		      "Sum"      SrcPort		      1      Points		      [0, 0]      Branch {	DstBlock		"Sum1"	DstPort			1      }      Branch {	Points			[9, 0; 0, -40]	DstBlock		"Outport2"	DstPort			1      }    }    Line {      SrcBlock		      "Product"      SrcPort		      1      Points		      [0, 0]      Branch {	DstBlock		"Gain"	DstPort			1      }      Branch {	Points			[13, 0; 0, -50]	DstBlock		"Outport3"	DstPort			1      }    }    Line {      SrcBlock		      "Pulse\nGenerator"      SrcPort		      1      Points		      [15, 0]      Branch {	Points			[80, 0; 0, 60]	DstBlock		"Product"	DstPort			1      }      Branch {	DstBlock		"Outport4"	DstPort			1      }    }  }}

⌨️ 快捷键说明

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