bl416.mdl

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

MDL
220
字号
Model {  Name			  "bl416"  Version		  2.09  SimParamPage		  Solver  SampleTimeColors	  off  InvariantConstants	  off  WideVectorLines	  off  ShowLineWidths	  off  PaperOrientation	  landscape  PaperType		  usletter  PaperUnits		  inches  StartTime		  "0.0"  StopTime		  "50"  Solver		  ode45  RelTol		  "1e-3"  AbsTol		  "1e-6"  Refine		  "1"  MaxStep		  "auto"  InitialStep		  "auto"  FixedStep		  "auto"  MaxOrder		  5  OutputOption		  RefineOutputTimes  OutputTimes		  "[]"  LoadExternalInput	  off  ExternalInput		  "[t, u]"  SaveTime		  on  TimeSaveName		  "tout"  SaveState		  off  StateSaveName		  "xout"  SaveOutput		  on  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		    "bl416"    Location		    [601, 362, 1101, 622]    Open		    on    ScreenColor		    white    Block {      BlockType		      Demux      Name		      "Demux1"      Ports		      [1, 2, 0, 0, 0]      Position		      [260, 75, 300, 110]      BackgroundColor	      magenta      DropShadow	      on      ShowName		      off      Outputs		      "2"    }    Block {      BlockType		      DiscreteStateSpace      Name		      "Discrete State-Space"      Position		      [125, 73, 240, 117]      BackgroundColor	      magenta      DropShadow	      on      ShowName		      off      A			      "phim"      B			      "gam"      C			      "[Cff;Cm]"      D			      "[lam;0]"      X0		      "0"      SampleTime	      "h"    }    Block {      BlockType		      Sin      Name		      "Sine Wave"      Position		      [50, 160, 80, 190]      Amplitude		      "1"      Frequency		      "1"      Phase		      "0"      SampleTime	      "0"    }    Block {      BlockType		      Step      Name		      "Step Input2"      Position		      [40, 85, 60, 105]      BackgroundColor	      magenta      DropShadow	      on      ShowName		      off      Time		      "tstep-h"      Before		      "0"      After		      "1"    }    Block {      BlockType		      TransferFcn      Name		      "Transfer Fcn"      Position		      [145, 157, 200, 193]      Numerator		      "[1]"      Denominator	      "[1 1]"    }    Block {      BlockType		      Outport      Name		      "ym"      Position		      [375, 120, 395, 140]      Port		      "1"      OutputWhenDisabled      held      InitialOutput	      "0"    }    Block {      BlockType		      Outport      Name		      "ym1"      Position		      [370, 55, 390, 75]      Port		      "2"      OutputWhenDisabled      held      InitialOutput	      "0"    }    Block {      BlockType		      Outport      Name		      "ym2"      Position		      [170, 25, 190, 45]      Port		      "3"      OutputWhenDisabled      held      InitialOutput	      "0"    }    Block {      BlockType		      Outport      Name		      "ym3"      Position		      [240, 165, 260, 185]      Port		      "4"      OutputWhenDisabled      held      InitialOutput	      "0"    }    Line {      SrcBlock		      "Transfer Fcn"      SrcPort		      1      DstBlock		      "ym3"      DstPort		      1    }    Line {      SrcBlock		      "Sine Wave"      SrcPort		      1      DstBlock		      "Transfer Fcn"      DstPort		      1    }    Line {      SrcBlock		      "Step Input2"      SrcPort		      1      Points		      [20, 0]      Branch {	Points			[0, -60]	DstBlock		"ym2"	DstPort			1      }      Branch {	DstBlock		"Discrete State-Space"	DstPort			1      }    }    Line {      SrcBlock		      "Demux1"      SrcPort		      1      Points		      [50, 0]      DstBlock		      "ym1"      DstPort		      1    }    Line {      SrcBlock		      "Demux1"      SrcPort		      2      Points		      [55, 0]      DstBlock		      "ym"      DstPort		      1    }    Line {      SrcBlock		      "Discrete State-Space"      SrcPort		      1      DstBlock		      "Demux1"      DstPort		      1    }  }}

⌨️ 快捷键说明

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