如何在 Stateflow 中加入信号延时?

57 vues (au cours des 30 derniers jours)
MathWorks Support Team
MathWorks Support Team le 6 Déc 2019
如何在 Stateflow 中加入信号延时?

Réponse acceptée

MathWorks Support Team
MathWorks Support Team le 6 Déc 2019
在 Stateflow 内部引入延时,可以用 transitions 和临时变量。参考附件:
在 Stateflow 中,定义临时变量 temp,当成状态变量用。每次先执行输出,再更新状态变量,从而实现当前的输出是上一次更新的状态变量,即实现延时。

Plus de réponses (0)

Catégories

En savoir plus sur 复杂逻辑 dans Help Center et File Exchange

Tags

Aucun tag saisi pour le moment.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!