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

📄 enabled.mdl

📁 学自控的人应该好好看看哦!直接用其强大的函数功能。
💻 MDL
📖 第 1 页 / 共 2 页
字号:
Model {
  Name			  "enabled"
  Version		  4.00
  SampleTimeColors	  off
  LibraryLinkDisplay	  "none"
  WideLines		  off
  ShowLineDimensions	  off
  ShowPortDataTypes	  off
  RecordCoverage	  off
  CovPath		  "/"
  CovSaveName		  "covdata"
  CovNameIncrementing	  off
  CovHtmlReporting	  on
  BlockParametersDataTip  on
  BlockDescriptionStringDataTip	off
  ToolBar		  on
  StatusBar		  on
  BrowserShowLibraryLinks off
  BrowserLookUnderMasks	  off
  Created		  "Mon Jul 27 10:28:00 1998"
  Creator		  "ldean"
  UpdateHistory		  "UpdateHistoryNever"
  ModifiedByFormat	  "%<Auto>"
  LastModifiedBy	  "obas"
  ModifiedDateFormat	  "%<Auto>"
  LastModifiedDate	  "Fri Aug 18 16:20:29 2000"
  ModelVersionFormat	  "1.%<AutoIncrement:23>"
  ConfigurationManager	  "none"
  DefaultBlockFontName	  "Arial"
  DefaultBlockFontSize	  12
  DefaultBlockFontWeight  "normal"
  DefaultBlockFontAngle	  "normal"
  DefaultAnnotationFontName "Arial"
  DefaultAnnotationFontSize 12
  DefaultAnnotationFontWeight "normal"
  DefaultAnnotationFontAngle "normal"
  DefaultLineFontName	  "Arial"
  DefaultLineFontSize	  12
  DefaultLineFontWeight	  "normal"
  DefaultLineFontAngle	  "normal"
  SimParamPage		  "Solver"
  StartTime		  "0.0"
  StopTime		  "20"
  SolverMode		  "Auto"
  Solver		  "VariableStepDiscrete"
  RelTol		  "1e-3"
  AbsTol		  "auto"
  Refine		  "1"
  MaxStep		  "auto"
  MinStep		  "auto"
  MaxNumMinSteps	  "-1"
  InitialStep		  "auto"
  FixedStep		  "auto"
  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"
  SaveFormat		  "Array"
  LimitDataPoints	  off
  MaxDataPoints		  "1000"
  Decimation		  "1"
  AlgebraicLoopMsg	  "warning"
  MinStepSizeMsg	  "warning"
  UnconnectedInputMsg	  "warning"
  UnconnectedOutputMsg	  "warning"
  UnconnectedLineMsg	  "warning"
  InheritedTsInSrcMsg	  "warning"
  SingleTaskRateTransMsg  "none"
  MultiTaskRateTransMsg	  "error"
  IntegerOverflowMsg	  "none"
  CheckForMatrixSingularity "none"
  UnnecessaryDatatypeConvMsg "none"
  Int32ToFloatConvMsg	  "warning"
  SignalLabelMismatchMsg  "none"
  LinearizationMsg	  "none"
  VectorMatrixConversionMsg "none"
  SfunCompatibilityCheckMsg "none"
  BlockPriorityViolationMsg "warning"
  ArrayBoundsChecking	  "none"
  ConsistencyChecking	  "none"
  ZeroCross		  on
  Profile		  off
  SimulationMode	  "normal"
  RTWSystemTargetFile	  "grt.tlc"
  RTWInlineParameters	  off
  RTWRetainRTWFile	  off
  RTWTemplateMakefile	  "grt_default_tmf"
  RTWMakeCommand	  "make_rtw"
  RTWGenerateCodeOnly	  off
  TLCProfiler		  off
  TLCDebug		  off
  TLCCoverage		  off
  AccelSystemTargetFile	  "accel.tlc"
  AccelTemplateMakefile	  "accel_default_tmf"
  AccelMakeCommand	  "make_rtw"
  ExtModeMexFile	  "ext_comm"
  ExtModeBatchMode	  off
  ExtModeTrigType	  "manual"
  ExtModeTrigMode	  "oneshot"
  ExtModeTrigPort	  "1"
  ExtModeTrigElement	  "any"
  ExtModeTrigDuration	  1000
  ExtModeTrigHoldOff	  0
  ExtModeTrigDelay	  0
  ExtModeTrigDirection	  "rising"
  ExtModeTrigLevel	  0
  ExtModeArchiveMode	  "off"
  ExtModeAutoIncOneShot	  off
  ExtModeIncDirWhenArm	  off
  ExtModeAddSuffixToVar	  off
  ExtModeWriteAllDataToWs off
  ExtModeArmWhenConnect	  off
  ExtModeLogAll		  on
  OptimizeBlockIOStorage  on
  BufferReuse		  on
  ParameterPooling	  on
  BlockReductionOpt	  off
  BooleanDataType	  off
  BlockDefaults {
    Orientation		    "right"
    ForegroundColor	    "black"
    BackgroundColor	    "white"
    DropShadow		    off
    NamePlacement	    "normal"
    FontName		    "Arial"
    FontSize		    12
    FontWeight		    "normal"
    FontAngle		    "normal"
    ShowName		    on
  }
  AnnotationDefaults {
    HorizontalAlignment	    "center"
    VerticalAlignment	    "middle"
    ForegroundColor	    "black"
    BackgroundColor	    "white"
    DropShadow		    off
    FontName		    "Arial"
    FontSize		    12
    FontWeight		    "normal"
    FontAngle		    "normal"
  }
  LineDefaults {
    FontName		    "Arial"
    FontSize		    12
    FontWeight		    "normal"
    FontAngle		    "normal"
  }
  System {
    Name		    "enabled"
    Location		    [97, 81, 634, 507]
    Open		    on
    ModelBrowserVisibility  off
    ModelBrowserWidth	    200
    ScreenColor		    "white"
    PaperOrientation	    "landscape"
    PaperPositionMode	    "auto"
    PaperType		    "usletter"
    PaperUnits		    "inches"
    ZoomFactor		    "89"
    AutoZoom		    on
    ReportName		    "simulink-default.rpt"
    Block {
      BlockType		      SubSystem
      Name		      "Abs\nOutput Reset"
      Ports		      [1, 1, 1]
      Position		      [265, 121, 345, 159]
      NamePlacement	      "alternate"
      FontName		      "Helvetica"
      FontSize		      10
      ShowPortLabels	      on
      TreatAsAtomicUnit	      on
      RTWSystemCode	      "Auto"
      RTWFcnNameOpts	      "Auto"
      RTWFileNameOpts	      "Auto"
      System {
	Name			"Abs\nOutput Reset"
	Location		[154, 493, 427, 618]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	AutoZoom		on
	Block {
	  BlockType		  Inport
	  Name			  "In"
	  Position		  [25, 78, 55, 92]
	  FontName		  "Helvetica"
	  FontSize		  10
	  Port			  "1"
	  Interpolate		  on
	}
	Block {
	  BlockType		  EnablePort
	  Name			  "Enable"
	  Ports			  []
	  Position		  [25, 15, 45, 35]
	  FontName		  "Helvetica"
	  FontSize		  10
	  StatesWhenEnabling	  "reset"
	  ShowOutputPort	  off
	}
	Block {
	  BlockType		  Abs
	  Name			  "Abs"
	  Position		  [100, 70, 130, 100]
	  FontName		  "Helvetica"
	  FontSize		  10
	  SaturateOnIntegerOverflow on
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out"
	  Position		  [175, 78, 205, 92]
	  FontName		  "Helvetica"
	  FontSize		  10
	  Port			  "1"
	  OutputWhenDisabled	  "reset"
	  InitialOutput		  "0"
	}
	Line {
	  SrcBlock		  "In"
	  SrcPort		  1
	  DstBlock		  "Abs"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Abs"
	  SrcPort		  1
	  DstBlock		  "Out"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      Constant
      Name		      "Constant"
      Position		      [445, 35, 485, 55]
      Orientation	      "down"
      ShowName		      off
      FontName		      "Helvetica"
      FontSize		      10
      Value		      "[2 0]"
      VectorParams1D	      on
    }
    Block {
      BlockType		      Constant
      Name		      "Constant1"
      Position		      [445, 310, 485, 330]
      Orientation	      "up"
      ShowName		      off
      FontName		      "Helvetica"
      FontSize		      10
      Value		      "[0 2]"
      VectorParams1D	      on
    }
    Block {
      BlockType		      Logic
      Name		      "Logical\nOperator"
      Ports		      [1, 1]
      Position		      [287, 210, 323, 225]
      Orientation	      "down"
      ShowName		      off
      FontName		      "Helvetica"
      FontSize		      10
      Operator		      "NOT"
      Inputs		      "1"
    }
    Block {
      BlockType		      SubSystem
      Name		      "More Info"
      Ports		      []
      Position		      [440, 360, 565, 440]
      DropShadow	      on
      ShowName		      off
      FontName		      "Helvetica"
      FontSize		      10
      ShowPortLabels	      on
      TreatAsAtomicUnit	      off
      RTWSystemCode	      "Auto"
      RTWFcnNameOpts	      "Auto"
      RTWFileNameOpts	      "Auto"
      MaskDisplay	      "disp('Double click\\nhere for\\ninformation on"
"\\nthis demonstration')"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"More Info"
	Location		[199, 129, 659, 537]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	AutoZoom		on
	Annotation {
	  Position		  [20, 40]
	  HorizontalAlignment	  "left"
	  VerticalAlignment	  "top"
	  Text			  "This demonstration shows what happens when "
"a sign wave is fed into an \nenabled subsystem.  After running the simulation"
", the scope shows three\nplots.  \n\nThe first of these plots shows the origi"
"nal sine wave and the absolute \nvalue of the original sine wave offset by tw"
"o.  The absolute value of the sine\nwave is only shown when the subsystem is "
"enabled.  This occurs between\n0 and 2.5 seconds and 5 and 7.5 seconds.  When"
" the subsystem is not\nenabled then the output of the subsystem is reset to 0"
".  The value of 0 is\ndetermined by the initial condition of the outport. You"
" can see when \nthe subsysytem is enabled by looking at the second plot.  A v"
"alue of 1 \nindicates that it is enabled.\n\nThe second plot shows the origin"
"al value of the enable signal.  If the signal\nis towards the top of the plot"
" then the subsystem related to the first plot\nis enabled.  If the signal is "
"towards the bottom of the plot then the\nsubsystem related to the third plot "
"is enabled.  The difference on when the\nsubsystems are enabled is caused by "
"the logical NOT block.\n\nThe third plot shows the original sine wave and the"
" saturation limited sine \nwave offset by two.  The saturated value of the si"
"ne wave is only shown when \nthe subsystem is enabled.  This occurs between 2"
".5 and 5 seconds and 7.5\nand 10 seconds."
	  FontName		  "Helvetica"
	  FontSize		  10
	}
	Annotation {
	  Position		  [218, 22]
	  Text			  "Enabled Subsystem Demonstration"
	  FontName		  "Helvetica"
	  FontSize		  14
	  FontWeight		  "bold"
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "More Info1"
      Ports		      []
      Position		      [20, 360, 145, 440]
      DropShadow	      on
      ShowName		      off
      OpenFcn		      "simcad(bdroot);"
      FontName		      "Helvetica"
      FontSize		      10
      ShowPortLabels	      on
      TreatAsAtomicUnit	      off
      RTWSystemCode	      "Auto"
      RTWFcnNameOpts	      "Auto"
      RTWFileNameOpts	      "Auto"
      MaskDisplay	      "disp('Double click\\nhere for\\nSimulink Help')"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"More Info1"

⌨️ 快捷键说明

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