Mtalab Simulink syntax error

11 ビュー (過去 30 日間)
Clifford Osei
Clifford Osei 2020 年 2 月 18 日
コメント済み: Clifford Osei 2020 年 2 月 19 日
Hi,
I am using the fcn block to create a disturbance obersever, however when running the simulation I recieve syntax error in the fcn block.
The expression is: u(1)/B1(1).
How can I resolve this?
  4 件のコメント
Giuseppe Inghilterra
Giuseppe Inghilterra 2020 年 2 月 19 日
Have you defined somewhere parameter B1? Otherwise you get syntax error.
Clifford Osei
Clifford Osei 2020 年 2 月 19 日
When i first built the model it was defined in a matlab function block and it worked fine. I now had to add it to the main script, thank you

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeInteractive Model Editing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by