Mtalab Simulink syntax error

11 次查看(过去 30 天)
Clifford Osei
Clifford Osei 2020-2-18
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
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 CenterFile Exchange 中查找有关 Interactive Model Editing 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by