Undefined variable "emlcoderprivate" error when running Stateflow on Matlab 2012b

1 visualización (últimos 30 días)
Hi,
I am very new to Stateflow, and I have created a simple state machine on Matlab 2012b (32-bit version). Whenever I try to an Update Diagram or start the simulation, I get the following model error message:
"Undefined variable "emlcoderprivate" or class "emlcoderprivate.compiler_supports_eml_ipp".
I have tried using Microsoft Visual C++ 2010 Express as the compiler, but I still get the same error message.
Can anyone please help me shed some light into this?
Thank you so much for all of your help, Victoria
  3 comentarios
danli
danli el 20 de Oct. de 2016
what do you mean by saying"Now when you re-open Matlab, you might get an error if the default directory is set to Windows. You can change that by right-clicking on the Matlab icon -> select "Properties" -> specify any path other than Windows in the field "Start in". ”
Walter Roberson
Walter Roberson el 20 de Oct. de 2016
In Windows Explorer you can right-click on the icon for MATLAB and select Properties and change the Start In directory to your home directory.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

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

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by