block112.mdl

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

MDL
158
字号
Model {  Name			  "block112"  Version		  2.00  SimParamPage		  Solver  SampleTimeColors	  off  WideVectorLines	  on  PaperOrientation	  landscape  StartTime		  "0.0"  StopTime		  "10"  Solver		  ode45  RelTol		  "1e-7"  AbsTol		  "1e-6"  Refine		  "1"  MaxStep		  "auto"  InitialStep		  "auto"  FixedStep		  "0.001"  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  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  }  System {    Name		    "block112"    Location		    [31, 160, 567, 461]    Open		    on    ScreenColor		    white    Block {      BlockType		      DiscreteTransferFcn      Name		      "Discrete\nTransfer Fcn"      Position		      [170, 71, 310, 119]      BackgroundColor	      magenta      DropShadow	      on      ShowName		      off      Numerator		      "[0 b*(1-exp(-a*h))/a]"      Denominator	      "[1 -exp(-a*h)]"      SampleTime	      "h"    }    Block {      BlockType		      Sin      Name		      "Sine Wave"      Position		      [45, 130, 65, 150]      DropShadow	      on      Amplitude		      "1"      Frequency		      "2*pi*4.9"      Phase		      "0"      SampleTime	      "-1"    }    Block {      BlockType		      TransferFcn      Name		      "Transfer Fcn"      Position		      [225, 177, 260, 213]      DropShadow	      on      ShowName		      off      Numerator		      "[b]"      Denominator	      "[1 a]"    }    Block {      BlockType		      Outport      Name		      "ys"      Position		      [370, 85, 390, 105]      Port		      "1"      OutputWhenDisabled      held      InitialOutput	      "0"    }    Block {      BlockType		      Outport      Name		      "y"      Position		      [365, 185, 385, 205]      Port		      "2"      OutputWhenDisabled      held      InitialOutput	      "0"    }    Block {      BlockType		      Outport      Name		      "uc"      Position		      [365, 245, 385, 265]      Port		      "3"      OutputWhenDisabled      held      InitialOutput	      "0"    }    Line {      SrcBlock		      "Sine Wave"      SrcPort		      1      Points		      [0, 0]      Branch {	Points			[60, 0; 0, -45]	DstBlock		"Discrete\nTransfer Fcn"	DstPort			1      }      Branch {	Points			[60, 0; 0, 55]	DstBlock		"Transfer Fcn"	DstPort			1      }      Branch {	Points			[60, 0; 0, 115]	DstBlock		"uc"	DstPort			1      }    }    Line {      SrcBlock		      "Discrete\nTransfer Fcn"      SrcPort		      1      DstBlock		      "ys"      DstPort		      1    }    Line {      SrcBlock		      "Transfer Fcn"      SrcPort		      1      DstBlock		      "y"      DstPort		      1    }  }}

⌨️ 快捷键说明

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