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

📄 ch8_2.mdl

📁 《MATLAB7.0控制系统应用实例》 作者:刘叔军
💻 MDL
📖 第 1 页 / 共 3 页
字号:
	Block {
	  BlockType		  SubSystem
	  Name			  "Ambiguous execution order\nerror due to fee"
"dback of\nmodified function-call output\nbetween two subsystems"
	  Ports			  []
	  Position		  [605, 226, 716, 255]
	  BackgroundColor	  "red"
	  DropShadow		  on
	  OpenFcn		  "sl_subsys_fcncallerr5"
	  TreatAsAtomicUnit	  off
	  MaskDisplay		  "disp(get_param(gcb,'openfcn'))\n"
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	  System {
	    Name		    "Ambiguous execution order\nerror due to f"
"eedback of\nmodified function-call output\nbetween two subsystems"
	    Location		    [103, 707, 601, 1007]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    ZoomFactor		    "100"
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Ambiguous execution order\nerror due to fee"
"dback of \nmodified function-call output"
	  Ports			  []
	  Position		  [465, 226, 576, 255]
	  BackgroundColor	  "red"
	  DropShadow		  on
	  OpenFcn		  "sl_subsys_fcncallerr4"
	  TreatAsAtomicUnit	  off
	  MaskDisplay		  "disp(get_param(gcb,'openfcn'))\n"
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	  System {
	    Name		    "Ambiguous execution order\nerror due to f"
"eedback of \nmodified function-call output"
	    Location		    [103, 707, 601, 1007]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    ZoomFactor		    "100"
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Data dependency violation\ninvolving a merg"
"e block \nand a Stateflow chart"
	  Ports			  []
	  Position		  [745, 226, 856, 255]
	  BackgroundColor	  "red"
	  DropShadow		  on
	  OpenFcn		  "sl_subsys_fcncallerr6"
	  TreatAsAtomicUnit	  off
	  MaskDisplay		  "disp(get_param(gcb,'openfcn'))\n"
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	  System {
	    Name		    "Data dependency violation\ninvolving a me"
"rge block \nand a Stateflow chart"
	    Location		    [103, 707, 601, 1007]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    ZoomFactor		    "100"
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Data dependency violation\ninvolving atomic"
" subsystem\nand gain block"
	  Ports			  []
	  Position		  [45, 321, 156, 350]
	  BackgroundColor	  "red"
	  DropShadow		  on
	  OpenFcn		  "sl_subsys_fcncallerr7"
	  TreatAsAtomicUnit	  off
	  MaskDisplay		  "disp(get_param(gcb,'openfcn'))\n"
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	  System {
	    Name		    "Data dependency violation\ninvolving atom"
"ic subsystem\nand gain block"
	    Location		    [103, 707, 601, 1007]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    ZoomFactor		    "100"
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Data dependency violation\ninvolving block "
"between\ntwo function-call subsystems"
	  Ports			  []
	  Position		  [325, 226, 436, 255]
	  BackgroundColor	  "red"
	  DropShadow		  on
	  OpenFcn		  "sl_subsys_fcncallerr3"
	  TreatAsAtomicUnit	  off
	  MaskDisplay		  "disp(get_param(gcb,'openfcn'))\n"
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	  System {
	    Name		    "Data dependency violation\ninvolving bloc"
"k between\ntwo function-call subsystems"
	    Location		    [103, 707, 601, 1007]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    ZoomFactor		    "100"
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Data dependency violation\ninvolving block "
"driven by\nthe function-call initiator"
	  Ports			  []
	  Position		  [185, 226, 296, 255]
	  BackgroundColor	  "red"
	  DropShadow		  on
	  OpenFcn		  "sl_subsys_fcncallerr2"
	  TreatAsAtomicUnit	  off
	  MaskDisplay		  "disp(get_param(gcb,'openfcn'))\n"
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	  System {
	    Name		    "Data dependency violation\ninvolving bloc"
"k driven by\nthe function-call initiator"
	    Location		    [103, 707, 601, 1007]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    ZoomFactor		    "100"
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Data sharing between\ntwo function-call sub"
"systems\nwith common initiator"
	  Ports			  []
	  Position		  [325, 141, 436, 170]
	  BackgroundColor	  "green"
	  DropShadow		  on
	  OpenFcn		  "sl_subsys_fcncall3"
	  TreatAsAtomicUnit	  off
	  MaskDisplay		  "disp(get_param(gcb,'openfcn'))\n"
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	  System {
	    Name		    "Data sharing between\ntwo function-call s"
"ubsystems\nwith common initiator"
	    Location		    [103, 707, 601, 1007]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    ZoomFactor		    "100"
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Enabled subsystem containing\nfunction-call"
" initiator with\ndata sharing"
	  Ports			  []
	  Position		  [465, 141, 576, 170]
	  BackgroundColor	  "green"
	  DropShadow		  on
	  OpenFcn		  "sl_subsys_fcncall4"
	  TreatAsAtomicUnit	  off
	  MaskDisplay		  "disp(get_param(gcb,'openfcn'))\n"
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	  System {
	    Name		    "Enabled subsystem containing\nfunction-ca"
"ll initiator with\ndata sharing"
	    Location		    [103, 707, 601, 1007]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    ZoomFactor		    "100"
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Function-call subsystem cycle \ndata depend"
"ency violation"
	  Ports			  []
	  Position		  [185, 321, 296, 350]
	  BackgroundColor	  "red"
	  DropShadow		  on
	  OpenFcn		  "sl_subsys_fcncallerr8"
	  TreatAsAtomicUnit	  off
	  MaskDisplay		  "disp(get_param(gcb,'openfcn'))\n"
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	  System {
	    Name		    "Function-call subsystem cycle \ndata depe"
"ndency violation"
	    Location		    [103, 707, 601, 1007]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    ZoomFactor		    "100"
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Indirect data dependency\nviolation"
	  Ports			  []
	  Position		  [325, 321, 436, 350]
	  BackgroundColor	  "red"
	  DropShadow		  on
	  OpenFcn		  "sl_subsys_fcncallerr9"
	  TreatAsAtomicUnit	  off
	  MaskDisplay		  "disp(get_param(gcb,'openfcn'))\n"
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	  System {
	    Name		    "Indirect data dependency\nviolation"
	    Location		    [103, 707, 601, 1007]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    ZoomFactor		    "100"
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Multiple initiators of\na function-call sub"
"system"
	  Ports			  []
	  Position		  [745, 141, 856, 170]
	  BackgroundColor	  "green"
	  DropShadow		  on
	  OpenFcn		  "sl_subsys_fcncall6"
	  TreatAsAtomicUnit	  off
	  MaskDisplay		  "disp(get_param(gcb,'openfcn'))\n"
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	  System {
	    Name		    "Multiple initiators of\na function-call s"
"ubsystem"
	    Location		    [103, 707, 601, 1007]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    ZoomFactor		    "100"
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Nested data dependency\nviolation"
	  Ports			  []
	  Position		  [465, 321, 576, 350]
	  BackgroundColor	  "red"
	  DropShadow		  on
	  OpenFcn		  "sl_subsys_fcncallerr10"
	  TreatAsAtomicUnit	  off
	  MaskDisplay		  "disp(get_param(gcb,'openfcn'))\n"
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	  System {
	    Name		    "Nested data dependency\nviolation"
	    Location		    [103, 707, 601, 1007]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    ZoomFactor		    "100"
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Nested function-call\nwith data sharing"
	  Ports			  []
	  Position		  [185, 141, 296, 170]
	  BackgroundColor	  "green"
	  DropShadow		  on
	  OpenFcn		  "sl_subsys_fcncall2"
	  TreatAsAtomicUnit	  off
	  MaskDisplay		  "disp(get_param(gcb,'openfcn'))\n"
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	  System {
	    Name		    "Nested function-call\nwith data sharing"
	    Location		    [103, 707, 601, 1007]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    ZoomFactor		    "100"
	  }
	}
	Annotation {
	  Name			  "Function-call subsystems implement callable"
" functions using Simulink blocks.\nFunction-call subsystems do not execute on"
" their own, they are executed by a\nfunction-call initiator. Stateflow charts"
", function-call generator, and S-functions\nare function-call initiators, the"
" most common being a Stateflow chart.\nBelow are examples showing valid and i"
"nvalid uses of function-call subsystems."
	  Position		  [30, 54]
	  HorizontalAlignment	  "left"
	  FontName		  "courier"
	}
      }
    }
    Block {
      BlockType		      Abs
      Name		      "Abs"
      Position		      [280, 30, 310, 60]
      ShowName		      off
    }
    Block {
      BlockType		      Demux
      Name		      "Demux"
      Ports		      [1, 3]
      Position		      [505, 172, 510, 228]
      Orientation	      "left"
      BackgroundColor	      "black"
      NamePlacement	      "alternate"
      ShowName		      off
      Outputs		      "3"
    }
    Block {
      BlockType		      Derivative
      Name		      "Derivative"
      Position		      [240, 73, 280, 107]
      ShowName		      off
    }
    Block {
      BlockType		      Reference
      Name		      "Gain"
      Ports		      [1, 1]
      Position		      [210, 30, 240, 60]
      ShowName		      off
      SourceBlock	      "simulink/Math\nOperations/Slider\nGain"
      SourceType	      "Slider Gain"
      low		      "0"
      gain		      "5.1"
      high		      "20"
    }
    Block {
      BlockType		      Reference
      Name		      "Gain1"
      Ports		      [1, 1]
      Position		      [315, 75, 345, 105]
      ShowName		      off
      SourceBlock	      "simulink/Math\nOperations/Slider\nGain"
      SourceType	      "Slider Gain"
      low		      "0"
      gain		      "12"
      high		      "200"
    }
    Block {
      BlockType		      Reference
      Name		      "Gain2"
      Ports		      [1, 1]
      Position		      [340, 175, 370, 205]
      Orientation	      "left"
      NamePlacement	      "alternate"
      ShowName		      off
      SourceBlock	      "simulink/Math\nOperations/Slider\nGain"
      SourceType	      "Slider Gain"
      low		      "0"
      gain		      "60"
      high		      "200"
    }
    Block {
      BlockType		      Reference
      Name		      "Gain5"
      Ports		      [1, 1]
      Position		      [400, 260, 430, 290]
      Orientation	      "left"
      NamePlacement	      "alternate"
      ShowName		      off
      SourceBlock	      "simulink/Math\nOperations/Slider\nGain"
      SourceType	      "Slider Gain"
      low		      "0"
      gain		      "60"
      high		      "200"
    }
    Block {
      BlockType		      Mux
      Name		      "Mux"
      Ports		      [2, 1]
      Position		      [395, 46, 400, 84]
      ShowName		      off
      Inputs		      "2"

⌨️ 快捷键说明

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