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

📄 statechartschedwithoffset.mdl

📁 genetic algorithm direct search RANDOM GAOT V5
💻 MDL
📖 第 1 页 / 共 3 页
字号:
      ZeroCross		      on
      SampleTime	      "-1"
    }
    Block {
      BlockType		      TriggerPort
      TriggerType	      "rising"
      StatesWhenEnabling      "inherit"
      ShowOutputPort	      off
      OutputDataType	      "auto"
      SampleTimeType	      "triggered"
      SampleTime	      "1"
      ZeroCross		      on
    }
    Block {
      BlockType		      UnitDelay
      X0		      "0"
      SampleTime	      "1"
      StateMustResolveToSignalObject off
      RTWStateStorageClass    "Auto"
    }
  }
  AnnotationDefaults {
    HorizontalAlignment	    "center"
    VerticalAlignment	    "middle"
    ForegroundColor	    "black"
    BackgroundColor	    "white"
    DropShadow		    off
    FontName		    "Arial"
    FontSize		    10
    FontWeight		    "normal"
    FontAngle		    "normal"
    UseDisplayTextAsClickCallback off
  }
  LineDefaults {
    FontName		    "Arial"
    FontSize		    9
    FontWeight		    "normal"
    FontAngle		    "normal"
  }
  System {
    Name		    "stateChartSchedwithOffset"
    Location		    [547, 128, 1703, 820]
    Open		    on
    ModelBrowserVisibility  off
    ModelBrowserWidth	    200
    ScreenColor		    "white"
    PaperOrientation	    "landscape"
    PaperPositionMode	    "auto"
    PaperType		    "usletter"
    PaperUnits		    "inches"
    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
    TiledPageScale	    1
    ShowPageBoundaries	    off
    ZoomFactor		    "102"
    ReportName		    "simulink-default.rpt"
    Block {
      BlockType		      SubSystem
      Name		      "Chart"
      Ports		      [0, 4]
      Position		      [165, 28, 390, 447]
      TreatAsAtomicUnit	      on
      MinAlgLoopOccurrences   off
      SystemSampleTime	      ".001"
      RTWSystemCode	      "Auto"
      FunctionWithSeparateData off
      Array {
	Type			"Handle"
	Dimension		0
	PropName		"AvailSigsLoadSave"
      }
      MaskHideContents	      off
      MaskType		      "Stateflow"
      MaskDescription	      "Stateflow diagram"
      MaskDisplay	      "plot(sf('Private','sfblk','xIcon'),sf('Private'"
",'sfblk','yIcon'));text(0.5,0,sf('Private', 'sfblk', 'tIcon'),'HorizontalAl',"
"'Center','VerticalAl','Bottom');"
      MaskSelfModifiable      on
      MaskIconFrame	      off
      MaskIconOpaque	      off
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"Chart"
	Location		[257, 457, 812, 717]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
	TiledPageScale		1
	ShowPageBoundaries	off
	ZoomFactor		"100"
	Block {
	  BlockType		  Demux
	  Name			  " Demux "
	  Ports			  [1, 4]
	  Position		  [270, 102, 320, 203]
	  Port {
	    PortNumber		    1
	    Name		    "Period_10_ms_1"
	    RTWStorageClass	    "Auto"
	    DataLoggingNameMode	    "SignalName"
	  }
	  Port {
	    PortNumber		    2
	    Name		    "Period_10_ms_2"
	    RTWStorageClass	    "Auto"
	    DataLoggingNameMode	    "SignalName"
	  }
	  Port {
	    PortNumber		    3
	    Name		    "Period_100_ms_1"
	    RTWStorageClass	    "Auto"
	    DataLoggingNameMode	    "SignalName"
	  }
	  Port {
	    PortNumber		    4
	    Name		    "Period_100_ms_2"
	    RTWStorageClass	    "Auto"
	    DataLoggingNameMode	    "SignalName"
	  }
	}
	Block {
	  BlockType		  Ground
	  Name			  " Ground "
	  Position		  [20, 121, 40, 139]
	}
	Block {
	  BlockType		  "S-Function"
	  Name			  " SFunction "
	  Tag			  "Stateflow S-Function stateChartSchedwithOff"
"set 1"
	  Ports			  [1, 1]
	  Position		  [180, 100, 230, 160]
	  FunctionName		  "sf_sfun"
	  PortCounts		  "[1 1]"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Period_10_ms_1"
	  Position		  [460, 101, 480, 119]
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Block {
	  BlockType		  Outport
	  Name			  "Period_10_ms_2"
	  Position		  [460, 136, 480, 154]
	  Port			  "2"
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Block {
	  BlockType		  Outport
	  Name			  "Period_100_ms_1"
	  Position		  [460, 171, 480, 189]
	  Port			  "3"
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Block {
	  BlockType		  Outport
	  Name			  "Period_100_ms_2"
	  Position		  [460, 206, 480, 224]
	  Port			  "4"
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Line {
	  SrcBlock		  " SFunction "
	  SrcPort		  1
	  Points		  [0, 25]
	  DstBlock		  " Demux "
	  DstPort		  1
	}
	Line {
	  SrcBlock		  " Ground "
	  SrcPort		  1
	  DstBlock		  " SFunction "
	  DstPort		  1
	}
	Line {
	  Name			  "Period_10_ms_1"
	  Labels		  [0, 0]
	  SrcBlock		  " Demux "
	  SrcPort		  1
	  DstBlock		  "Period_10_ms_1"
	  DstPort		  1
	}
	Line {
	  Name			  "Period_10_ms_2"
	  Labels		  [0, 0]
	  SrcBlock		  " Demux "
	  SrcPort		  2
	  DstBlock		  "Period_10_ms_2"
	  DstPort		  1
	}
	Line {
	  Name			  "Period_100_ms_1"
	  Labels		  [0, 0]
	  SrcBlock		  " Demux "
	  SrcPort		  3
	  DstBlock		  "Period_100_ms_1"
	  DstPort		  1
	}
	Line {
	  Name			  "Period_100_ms_2"
	  Labels		  [0, 0]
	  SrcBlock		  " Demux "
	  SrcPort		  4
	  DstBlock		  "Period_100_ms_2"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "FunctionCall1"
      Ports		      [0, 1, 0, 1]
      Position		      [440, 459, 540, 501]
      TreatAsAtomicUnit	      on
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Reusable function"
      RTWFcnNameOpts	      "Use subsystem name"
      FunctionWithSeparateData off
      MaskHideContents	      off
      Port {
	PortNumber		1
	Name			"100 ms 50 ms offset"
	RTWStorageClass		"Auto"
	DataLoggingNameMode	"SignalName"
      }
      System {
	Name			"FunctionCall1"
	Location		[593, 306, 1451, 662]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
	TiledPageScale		1
	ShowPageBoundaries	off
	ZoomFactor		"100"
	Block {
	  BlockType		  TriggerPort
	  Name			  "function"
	  Ports			  []
	  Position		  [210, 15, 230, 35]
	  TriggerType		  "function-call"
	  StatesWhenEnabling	  "held"
	}
	Block {
	  BlockType		  Constant
	  Name			  "Constant"
	  Position		  [105, 185, 135, 215]
	}
	Block {
	  BlockType		  Constant
	  Name			  "Constant1"
	  Position		  [320, 150, 350, 180]
	}
	Block {
	  BlockType		  Constant
	  Name			  "Constant2"
	  Position		  [325, 225, 355, 255]
	  Value			  "0"
	}
	Block {
	  BlockType		  RelationalOperator
	  Name			  "Relational\nOperator"
	  Position		  [250, 192, 280, 223]
	  Operator		  "~="
	  InputSameDT		  off
	  LogicOutDataTypeMode	  "Boolean"
	}
	Block {
	  BlockType		  Switch
	  Name			  "Switch"
	  Position		  [425, 169, 455, 251]
	  InputSameDT		  off
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  UnitDelay
	  Name			  "Unit Delay"
	  Position		  [255, 273, 290, 307]
	  Orientation		  "left"
	  SampleTime		  "-1"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out1"
	  Position		  [635, 198, 665, 212]
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Line {
	  SrcBlock		  "Constant"
	  SrcPort		  1
	  DstBlock		  "Relational\nOperator"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Unit Delay"
	  SrcPort		  1
	  Points		  [-25, 0; 0, -75]
	  DstBlock		  "Relational\nOperator"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Switch"
	  SrcPort		  1
	  Points		  [0, -5; 105, 0]
	  Branch {
	    DstBlock		    "Out1"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 85]
	    DstBlock		    "Unit Delay"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Relational\nOperator"
	  SrcPort		  1
	  DstBlock		  "Switch"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Constant1"
	  SrcPort		  1
	  Points		  [25, 0; 0, 20]
	  DstBlock		  "Switch"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Constant2"
	  SrcPort		  1
	  Points		  [25, 0; 0, -5]
	  DstBlock		  "Switch"
	  DstPort		  3
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "FunctionCall2"
      Ports		      [0, 1, 0, 1]
      Position		      [535, 349, 635, 391]
      TreatAsAtomicUnit	      on
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Reusable function"
      RTWFcnNameOpts	      "Use subsystem name"
      FunctionWithSeparateData off
      MaskHideContents	      off
      Port {
	PortNumber		1
	Name			"100 ms no offset"
	RTWStorageClass		"Auto"
	DataLoggingNameMode	"SignalName"
      }
      System {
	Name			"FunctionCall2"
	Location		[593, 306, 1451, 662]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
	TiledPageScale		1
	ShowPageBoundaries	off
	ZoomFactor		"100"
	Block {
	  BlockType		  TriggerPort
	  Name			  "function"
	  Ports			  []
	  Position		  [210, 15, 230, 35]
	  TriggerType		  "function-call"
	  StatesWhenEnabling	  "held"
	}
	Block {
	  BlockType		  Constant
	  Name			  "Constant"
	  Position		  [105, 185, 135, 215]
	}
	Block {
	  BlockType		  Constant
	  Name			  "Constant1"
	  Position		  [320, 150, 350, 180]
	}
	Block {
	  BlockType		  Constant
	  Name			  "Constant2"
	  Position		  [325, 225, 355, 255]
	  Value			  "0"
	}
	Block {
	  BlockType		  RelationalOperator
	  Name			  "Relational\nOperator"
	  Position		  [250, 192, 280, 223]
	  Operator		  "~="
	  InputSameDT		  off
	  LogicOutDataTypeMode	  "Boolean"
	}
	Block {
	  BlockType		  Switch
	  Name			  "Switch"
	  Position		  [425, 169, 455, 251]
	  InputSameDT		  off
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  UnitDelay
	  Name			  "Unit Delay"
	  Position		  [255, 273, 290, 307]
	  Orientation		  "left"
	  SampleTime		  "-1"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out1"
	  Position		  [635, 198, 665, 212]
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Line {
	  SrcBlock		  "Constant2"
	  SrcPort		  1
	  Points		  [25, 0; 0, -5]
	  DstBlock		  "Switch"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "Constant1"
	  SrcPort		  1
	  Points		  [25, 0; 0, 20]
	  DstBlock		  "Switch"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Relational\nOperator"
	  SrcPort		  1
	  DstBlock		  "Switch"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Switch"
	  SrcPort		  1
	  Points		  [0, -5; 105, 0]
	  Branch {
	    Points		    [0, 85]
	    DstBlock		    "Unit Delay"
	    DstPort		    1
	  }
	  Branch {
	    DstBlock		    "Out1"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Unit Delay"
	  SrcPort		  1
	  Points		  [-25, 0; 0, -75]
	  DstBlock		  "Relational\nOperator"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Constant"
	  SrcPort		  1
	  DstBlock		  "Relational\nOperator"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "FunctionCall3"
      Ports		      [0, 1, 0, 1]
      Position		      [725, 129, 825, 171]
      TreatAsAtomicUnit	      on
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Reusable function"
      RTWFcnNameOpts	      "Use subsystem name"
      FunctionWithSeparateData off
      MaskHideContents	      off
      Port {
	PortNumber		1
	Name			"10 ms no offset"
	RTWStorageClass		"Auto"
	DataLoggingNameMode	"SignalName"
      }
      System {
	Name			"FunctionCall3"
	Location		[593, 306, 1451, 662]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
	TiledPageScale		1
	ShowPageBoundaries	off
	ZoomFactor		"100"
	Block {
	  BlockType		  TriggerPort
	  Name			  "function"
	  Ports			  []
	  Position		  [210, 15, 230, 35]
	  TriggerType		  "function-call"
	  StatesWhenEnabling	  "held"
	}
	Block {
	  BlockType		  Constant
	  Name			  "Constant"
	  Position		  [105, 185, 135, 215]
	}
	Block {
	  BlockType		  Constant
	  Name			  "Constant1"
	  Position		  [320, 150, 350, 180]
	}
	Block {
	  BlockType		  Constant
	  Name			  "Constant2"
	  Position		  [325, 225, 355, 255]
	  Value			  "0"
	}
	Block {
	  BlockType		  RelationalOperator
	  Name			  "Relational\nOperator"
	  Position		  [250, 192, 280, 223]
	  Operator		  "~="
	  InputSameDT		  off
	  LogicOutDataTypeMode	  "Boolean"
	}
	Block {
	  BlockType		  Switch
	  Name			  "Switch"
	  Position		  [425, 169, 455, 251]
	  InputSameDT		  off
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  UnitDelay
	  Name			  "Unit Delay"
	  Position		  [255, 273, 290, 307]
	  Orientation		  "left"
	  SampleTime		  "-1"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out1"
	  Position		  [635, 198, 665, 212]
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Line {
	  SrcBlock		  "Constant"
	  SrcPort		  1
	  DstBlock		  "Relational\nOperator"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Unit Delay"
	  SrcPort		  1
	  Points		  [-25, 0; 0, -75]
	  DstBlock		  "Relational\nOperator"
	  DstPort		  2
	}
	Line {

⌨️ 快捷键说明

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