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

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

 Akzeptierte Antwort

boyamar
boyamar am 28 Nov. 2022

0 Stimmen

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

Weitere Antworten (0)

Kategorien

Mehr zu Simulink 函数 finden Sie in Hilfe-Center und File Exchange

Tags

Gefragt:

am 28 Nov. 2022

Beantwortet:

am 28 Nov. 2022

Community Treasure Hunt

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

Start Hunting!