我是
靠谱客的博主
风趣荷花,最近开发中收集的这篇文章主要介绍
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 after操作符用法所遇到的程序开发问题。
如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复