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

📄 motes.mdl

📁 用于网络控制系统仿真
💻 MDL
📖 第 1 页 / 共 3 页
字号:
Model {  Name			  "motes"  Version		  4.00  SampleTimeColors	  off  LibraryLinkDisplay	  "none"  WideLines		  off  ShowLineDimensions	  off  ShowPortDataTypes	  off  ShowStorageClass	  off  ExecutionOrder	  off  RecordCoverage	  off  CovPath		  "/"  CovSaveName		  "covdata"  CovMetricSettings	  "dw"  CovNameIncrementing	  off  CovHtmlReporting	  on  BlockNameDataTip	  off  BlockParametersDataTip  off  BlockDescriptionStringDataTip	off  ToolBar		  on  StatusBar		  on  BrowserShowLibraryLinks off  BrowserLookUnderMasks	  off  PostLoadFcn		  "init"  InitFcn		  "clear functions"  Created		  "Thu Mar 31 13:43:00 2005"  Creator		  "mandersson"  UpdateHistory		  "UpdateHistoryNever"  ModifiedByFormat	  "%<Auto>"  LastModifiedBy	  "anton"  ModifiedDateFormat	  "%<Auto>"  LastModifiedDate	  "Wed Jan  3 16:58:06 2007"  ModelVersionFormat	  "1.%<AutoIncrement:38>"  ConfigurationManager	  "None"  SimParamPage		  "Solver"  StartTime		  "0.0"  StopTime		  "40"  SolverMode		  "Auto"  Solver		  "ode45"  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	  on  MaxDataPoints		  "1000"  Decimation		  "1"  AlgebraicLoopMsg	  "warning"  MinStepSizeMsg	  "warning"  UnconnectedInputMsg	  "warning"  UnconnectedOutputMsg	  "warning"  UnconnectedLineMsg	  "warning"  InheritedTsInSrcMsg	  "warning"  SingleTaskRateTransMsg  "none"  MultiTaskRateTransMsg	  "error"  IntegerOverflowMsg	  "warning"  CheckForMatrixSingularity "none"  UnnecessaryDatatypeConvMsg "none"  Int32ToFloatConvMsg	  "warning"  InvalidFcnCallConnMsg	  "error"  SignalLabelMismatchMsg  "none"  LinearizationMsg	  "none"  VectorMatrixConversionMsg "none"  SfunCompatibilityCheckMsg "none"  BlockPriorityViolationMsg "warning"  ArrayBoundsChecking	  "none"  ConsistencyChecking	  "none"  ZeroCross		  on  Profile		  off  SimulationMode	  "normal"  RTWSystemTargetFile	  "grt.tlc"  RTWOptions		  "-aEnforceIntegerDowncast=1 -aExtMode=0 -aFoldNonRol""ledExpr=1 -aForceParamTrailComments=0 -aGenerateComments=1 -aIgnoreCustomStor""ageClasses=0 -aIncHierarchyInIds=0 -aInlineInvariantSignals=0 -aLocalBlockOut""puts=1 -aLogVarNameModifier=\"rt_\" -aRTWVerbose=1 -aRollThreshold=5 -aShowEl""iminatedStatements=0"  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"  TryForcingSFcnDF	  off  ExtModeMexFile	  "ext_comm"  ExtModeBatchMode	  off  ExtModeTrigType	  "manual"  ExtModeTrigMode	  "normal"  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	  on  ExtModeSkipDownloadWhenConnect off  ExtModeLogAll		  on  ExtModeAutoUpdateStatusClock off  OptimizeBlockIOStorage  on  BufferReuse		  on  ParameterPooling	  on  BlockReductionOpt	  on  RTWExpressionDepthLimit 5  BooleanDataType	  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"  }  LineDefaults {    FontName		    "Helvetica"    FontSize		    9    FontWeight		    "normal"    FontAngle		    "normal"  }  System {    Name		    "motes"    Location		    [55, 78, 864, 414]    Open		    on    ModelBrowserVisibility  off    ModelBrowserWidth	    200    ScreenColor		    "white"    PaperOrientation	    "landscape"    PaperPositionMode	    "auto"    PaperType		    "A4"    PaperUnits		    "centimeters"    ZoomFactor		    "100"    ReportName		    "simulink-default.rpt"    Block {      BlockType		      Clock      Name		      "Clock"      Position		      [300, 20, 320, 40]      DisplayTime	      off      Decimation	      "10"    }    Block {      BlockType		      Demux      Name		      "Demux"      Ports		      [1, 3]      Position		      [670, 80, 675, 140]      BackgroundColor	      "black"      ShowName		      off      Outputs		      "nbrOfMotes"      BusSelectionMode	      off    }    Block {      BlockType		      Display      Name		      "Display"      Ports		      [1]      Position		      [365, 15, 455, 45]      Format		      "short"      Decimation	      "1"      Floating		      off      SampleTime	      "-1"    }    Block {      BlockType		      From      Name		      "From1"      Position		      [30, 42, 70, 58]      ShowName		      off      CloseFcn		      "tagdialog Close"      GotoTag		      "rcv1"    }    Block {      BlockType		      From      Name		      "From2"      Position		      [30, 142, 70, 158]      ShowName		      off      CloseFcn		      "tagdialog Close"      GotoTag		      "rcv2"    }    Block {      BlockType		      From      Name		      "From3"      Position		      [515, 42, 545, 58]      ShowName		      off      CloseFcn		      "tagdialog Close"      GotoTag		      "snd2"    }    Block {      BlockType		      From      Name		      "From4"      Position		      [385, 131, 410, 149]      ShowName		      off      CloseFcn		      "tagdialog Close"      GotoTag		      "x2"    }    Block {      BlockType		      From      Name		      "From5"      Position		      [385, 201, 410, 219]      ShowName		      off      CloseFcn		      "tagdialog Close"      GotoTag		      "y2"    }    Block {      BlockType		      From      Name		      "From6"      Position		      [30, 247, 70, 263]      ShowName		      off      CloseFcn		      "tagdialog Close"      GotoTag		      "rcv3"    }    Block {      BlockType		      From      Name		      "From61"      Position		      [515, 22, 545, 38]      ShowName		      off      CloseFcn		      "tagdialog Close"      GotoTag		      "snd1"    }    Block {      BlockType		      From      Name		      "From66"      Position		      [385, 181, 410, 199]      ShowName		      off      CloseFcn		      "tagdialog Close"      GotoTag		      "y1"    }    Block {      BlockType		      From      Name		      "From7"      Position		      [515, 62, 545, 78]      ShowName		      off      CloseFcn		      "tagdialog Close"      GotoTag		      "snd3"    }    Block {      BlockType		      From      Name		      "From70"      Position		      [385, 111, 410, 129]      ShowName		      off      CloseFcn		      "tagdialog Close"      GotoTag		      "x1"    }    Block {      BlockType		      From      Name		      "From8"      Position		      [385, 151, 410, 169]      ShowName		      off      CloseFcn		      "tagdialog Close"      GotoTag		      "x3"    }    Block {      BlockType		      From      Name		      "From9"      Position		      [385, 221, 410, 239]      ShowName		      off      CloseFcn		      "tagdialog Close"      GotoTag		      "y3"    }    Block {      BlockType		      Goto      Name		      "Goto1"      Position		      [220, 167, 255, 183]      ShowName		      off      GotoTag		      "snd2"      TagVisibility	      "global"    }    Block {      BlockType		      Goto      Name		      "Goto10"      Position		      [225, 221, 250, 239]      ShowName		      off      GotoTag		      "x3"      TagVisibility	      "global"    }    Block {      BlockType		      Goto      Name		      "Goto11"      Position		      [705, 122, 740, 138]      ShowName		      off      GotoTag		      "rcv3"      TagVisibility	      "global"    }    Block {      BlockType		      Goto      Name		      "Goto2"      Position		      [225, 141, 250, 159]      ShowName		      off      GotoTag		      "y2"      TagVisibility	      "global"    }    Block {      BlockType		      Goto      Name		      "Goto3"      Position		      [220, 67, 255, 83]      ShowName		      off      GotoTag		      "snd1"      TagVisibility	      "global"    }    Block {      BlockType		      Goto      Name		      "Goto4"      Position		      [225, 116, 250, 134]      ShowName		      off      GotoTag		      "x2"      TagVisibility	      "global"    }    Block {      BlockType		      Goto      Name		      "Goto49"      Position		      [705, 82, 740, 98]      ShowName		      off      GotoTag		      "rcv1"      TagVisibility	      "global"    }    Block {      BlockType		      Goto      Name		      "Goto5"      Position		      [705, 102, 740, 118]      ShowName		      off      GotoTag		      "rcv2"      TagVisibility	      "global"    }    Block {      BlockType		      Goto      Name		      "Goto6"      Position		      [220, 272, 255, 288]      ShowName		      off      GotoTag		      "snd3"      TagVisibility	      "global"    }    Block {      BlockType		      Goto      Name		      "Goto7"      Position		      [225, 246, 250, 264]      ShowName		      off      GotoTag		      "y3"      TagVisibility	      "global"    }    Block {      BlockType		      Goto      Name		      "Goto8"      Position		      [225, 41, 250, 59]      ShowName		      off      GotoTag		      "y1"      TagVisibility	      "global"    }    Block {      BlockType		      Goto      Name		      "Goto9"      Position		      [225, 16, 250, 34]      ShowName		      off      GotoTag		      "x1"      TagVisibility	      "global"    }    Block {      BlockType		      SubSystem      Name		      "Mote 1"      Ports		      [1, 3]      Position		      [90, 12, 190, 88]      ShowPortLabels	      on      TreatAsAtomicUnit	      off      RTWSystemCode	      "Auto"      RTWFcnNameOpts	      "Auto"      RTWFileNameOpts	      "Auto"      MaskType		      "MOTE"      MaskPromptString	      "x0|y0"      MaskStyleString	      "edit,edit"      MaskTunableValueString  "on,on"      MaskCallbackString      "|"      MaskEnableString	      "on,on"      MaskVisibilityString    "on,on"      MaskToolTipString	      "on,on"      MaskVariables	      "x0=@1;y0=@2;"      MaskIconFrame	      on      MaskIconOpaque	      on      MaskIconRotate	      "none"      MaskIconUnits	      "autoscale"      MaskValueString	      "xPos(1)|yPos(1)"      MaskVariableAliases     ","      System {	Name			"Mote 1"	Location		[14, 258, 459, 519]	Open			off	ModelBrowserVisibility	off	ModelBrowserWidth	200	ScreenColor		"white"	PaperOrientation	"landscape"	PaperPositionMode	"auto"	PaperType		"A4"	PaperUnits		"centimeters"	ZoomFactor		"100"	Block {	  BlockType		  Inport	  Name			  "Rcv"	  Position		  [80, 83, 110, 97]	  Port			  "1"	  LatchInput		  off	  Interpolate		  on	}	Block {	  BlockType		  Integrator	  Name			  "\n"	  Ports			  [1, 1]	  Position		  [210, 145, 240, 175]	  Orientation		  "left"	  ExternalReset		  "none"	  InitialConditionSource  "internal"	  InitialCondition	  "y0"	  LimitOutput		  off	  UpperSaturationLimit	  "inf"	  LowerSaturationLimit	  "-inf"	  ShowSaturationPort	  off	  ShowStatePort		  off	  AbsoluteTolerance	  "auto"	}	Block {	  BlockType		  Integrator	  Name			  "\n  \n"	  Ports			  [1, 1]	  Position		  [210, 190, 240, 220]	  Orientation		  "left"	  ExternalReset		  "none"	  InitialConditionSource  "internal"	  InitialCondition	  "x0"	  LimitOutput		  off	  UpperSaturationLimit	  "inf"	  LowerSaturationLimit	  "-inf"	  ShowSaturationPort	  off	  ShowStatePort		  off	  AbsoluteTolerance	  "auto"	}	Block {	  BlockType		  Demux	  Name			  "Demux"	  Ports			  [1, 2]	  Position		  [375, 16, 380, 54]	  BackgroundColor	  "black"	  ShowName		  off	  Outputs		  "2"	  BusSelectionMode	  off	}	Block {	  BlockType		  Ground	  Name			  "Ground"	  Position		  [130, 55, 150, 75]	  ShowName		  off	}	Block {	  BlockType		  Mux	  Name			  "Mux"	  Ports			  [2, 1]	  Position		  [115, 21, 120, 59]	  ShowName		  off	  Inputs		  "2"	  DisplayOption		  "bar"	}	Block {	  BlockType		  Scope	  Name			  "Schedule"	  Ports			  [1]	  Position		  [360, 64, 385, 86]	  Floating		  off	  Location		  [273, 249, 1087, 708]	  Open			  off	  NumInputPorts		  "1"	  TickLabels		  "on"	  ZoomMode		  "xonly"	  List {	    ListType		    AxesTitles	    axes1		    "%<SignalLabel>"	  }	  Grid			  "on"	  TimeRange		  "3.5"	  YMin			  "1.8"	  YMax			  "3.7"	  SaveToWorkspace	  off	  SaveName		  "ScopeData"	  DataFormat		  "Array"	  LimitDataPoints	  off	  MaxDataPoints		  "5000"	  Decimation		  "1"	  SampleInput		  off	  SampleTime		  "0"	}	Block {	  BlockType		  Terminator	  Name			  "Terminator"	  Position		  [325, 80, 345, 100]	  ShowName		  off	}	Block {	  BlockType		  Terminator	  Name			  "Terminator1"	  Position		  [325, 105, 345, 125]	  ShowName		  off	}	Block {	  BlockType		  SubSystem	  Name			  "TrueTime Kernel"	  Ports			  [3, 5]	  Position		  [170, 27, 285, 103]	  DropShadow		  on	  AncestorBlock		  "truetime/TrueTime Kernel"	  ShowPortLabels	  on	  TreatAsAtomicUnit	  off	  RTWSystemCode		  "Auto"	  RTWFcnNameOpts	  "Auto"	  RTWFileNameOpts	  "Auto"	  MaskPromptString	  "Name of init function (MEX or MATLAB)|Init ""function argument|Battery|Clock drift|Clock offset"	  MaskStyleString	  "edit,edit,checkbox,edit,edit"	  MaskTunableValueString  "off,off,off,off,off"	  MaskCallbackString	  "||batterychange||"	  MaskEnableString	  "on,on,on,on,on"	  MaskVisibilityString	  "on,on,on,on,on"	  MaskToolTipString	  "on,on,on,on,on"	  MaskVariables		  "sfun=&1;args=@2;battery=@3;clockdrift=@4;cl""ockoffset=@5;"	  MaskSelfModifiable	  on	  MaskIconFrame		  on	  MaskIconOpaque	  on	  MaskIconRotate	  "none"	  MaskIconUnits		  "autoscale"	  MaskValueString	  "node_init|1|off|0|0"	  MaskVariableAliases	  ",,,,"	  System {	    Name		    "TrueTime Kernel"	    Location		    [345, 356, 835, 561]	    Open		    off	    ModelBrowserVisibility  off	    ModelBrowserWidth	    200	    ScreenColor		    "white"	    PaperOrientation	    "landscape"	    PaperPositionMode	    "auto"	    PaperType		    "A4"	    PaperUnits		    "centimeters"	    ZoomFactor		    "100"	    Block {	      BlockType		      Inport	      Name		      "A/D"	      Position		      [25, 33, 55, 47]	      Port		      "1"	      LatchInput	      off	      Interpolate	      on	    }	    Block {	      BlockType		      Inport	      Name		      "Interrupts"	      Position		      [25, 68, 55, 82]	      Port		      "2"	      LatchInput	      off	      Interpolate	      on	    }	    Block {	      BlockType		      Inport	      Name		      "Rcv"	      Position		      [25, 108, 55, 122]	      Port		      "3"	      LatchInput	      off	      Interpolate	      on	    }	    Block {	      BlockType		      Clock	      Name		      "Clock"	      Position		      [180, 150, 200, 170]	      DisplayTime	      off	      Decimation	      "10"	    }	    Block {	      BlockType		      Constant	      Name		      "E"	      Position		      [30, 140, 50, 160]	      Value		      "1"	      VectorParams1D	      on	    }	    Block {	      BlockType		      "S-Function"	      Name		      "S-Function"	      Ports		      [4, 5]	      Position		      [120, 40, 320, 110]	      FunctionName	      "eval(eval(['''sfunchk(''''' sfun ''''')""''']))"	      Parameters	      "sfun, args, clockdrift, clockoffset"	      PortCounts	      "[]"	      SFunctionModules	      "''"	      MaskIconFrame	      on	      MaskIconOpaque	      on	      MaskIconRotate	      "none"	      MaskIconUnits	      "autoscale"	    }	    Block {	      BlockType		      Terminator	      Name		      "Terminator"

⌨️ 快捷键说明

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