如何在 Stateflow 中加入信号延时?
57 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
MathWorks Support Team
le 6 Déc 2019
Réponse apportée : MathWorks Support Team
le 6 Déc 2019
如何在 Stateflow 中加入信号延时?
Réponse acceptée
MathWorks Support Team
le 6 Déc 2019
在 Stateflow 内部引入延时,可以用 transitions 和临时变量。参考附件:
在 Stateflow 中,定义临时变量 temp,当成状态变量用。每次先执行输出,再更新状态变量,从而实现当前的输出是上一次更新的状态变量,即实现延时。
0 commentaires
Plus de réponses (0)
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!