我是
靠谱客的博主
风趣荷花,这篇文章主要介绍
MATLAB after操作符用法,现在分享给大家,希望可以做个参考。
after
| after(n, E)
E is the base event for the after operator and n is either:
| Returns true if the base event E has occurred at least n times since activation of the associated state. Otherwise, the operator returns false. In a chart with no input events, after(n, tick) or after(n, wakeup) returns true if the chart has woken up n times or more since activation of the associated state. Resets the counter for E to 0 each time the associated state reactivates. |
after
| after(n, sec)
after(n, msec)
after(n, usec)
n is any positive number or expression. sec, msec, and usec are keywords that denote the simulation time elapsed since activation of the associated state.
| Returns true if n specified seconds (sec), milliseconds (msec), or microseconds (usec) of simulation time have elapsed since activation of the associated state. Otherwise, the operator returns false. Resets the counter for sec, msec, and usec to 0 each time the associated state reactivates. |
事件类型
after(n, tick) or after(n, wakeup) ;after(n, tick)为计数n 次 返回TRUE ,否则FALSE, after(n, wakeup)每次唤醒n 次才会返回TRUE 否则返回FALSE
时间
after(n, sec)
after(n, msec)
after(n, usec)
分别对应 n 秒 ,n 毫秒 ,n 微秒
最后
以上就是风趣荷花最近收集整理的关于MATLAB after操作符用法的全部内容,更多相关MATLAB内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复