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 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