Mtalab Simulink syntax error

11 vues (au cours des 30 derniers jours)
Clifford Osei
Clifford Osei le 18 Fév 2020
Commenté : Clifford Osei le 19 Fév 2020
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 commentaires
Giuseppe Inghilterra
Giuseppe Inghilterra le 19 Fév 2020
Have you defined somewhere parameter B1? Otherwise you get syntax error.
Clifford Osei
Clifford Osei le 19 Fév 2020
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

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Interactive Model Editing dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by