Workspace variable is not seen by Simulink

8 visualizaciones (últimos 30 días)
Blondeel
Blondeel el 14 de En. de 2013
Hello,
I am becoming crazy with this error...
I have a variable (structure) called MSCd, which is in the Matlab workspace. This variable is called by Simulink model, but Simulink is not able to see it.
Error evaluating parameter 'RowIndex' in 'Modele_Brio_DCT_V0a/Génération de couple embrayage glissant/Lookup Table (2-D)1': Undefined variable "MSCd" or class "MSCd.c".
Note that this was working last week. But I am unable to find why it does not work anymore !
Thank you for your help !
Jerome
  1 comentario
Kaustubha Govind
Kaustubha Govind el 14 de En. de 2013
How do you run the simulation? Do you run from within a function using the SIM command by any chance?

Iniciar sesión para comentar.

Respuestas (1)

Blondeel
Blondeel el 14 de En. de 2013
Thank you for your answer. Yes I was running Simulink within a function. If I hide the function headline, this is working !! Great !!!
  1 comentario
Kaustubha Govind
Kaustubha Govind el 15 de En. de 2013
FYI: You can continue to run from the function, by following my solution here.

Iniciar sesión para comentar.

Categorías

Más información sobre Simulink en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by