Stateflow中​圆括号或花括号异常,​如何解决?。

如图,在Stateflow中构建简单的选择结构,但是报错。我是跟着教程来的呀:(

 Accepted Answer

boyamar
boyamar on 28 Nov 2022

0 votes

代码没有错误。
有一个问题:
in是一个输入吗?
还是函数,还是一个变量?
另外 stateflow里面取非最好不要用~=
原因可以参考:

More Answers (0)

Categories

Tags

Asked:

on 28 Nov 2022

Answered:

on 28 Nov 2022

Community Treasure Hunt

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

Start Hunting!