Export to previous version 2016a -> 2015b causes error Undefined function 'Simulink.​exportToVe​rsion' for input arguments of type 'char'

14 visualizaciones (últimos 30 días)
When I try to export a Simulink model I worked on with R2016A (trial) to the previous version R2015B, which is running on another computer, I get the following error message:
Undefined function 'Simulink.exportToVersion' for input arguments of type 'char'.
What do I have to do to fix this problem?

Respuesta aceptada

Andreas Goser
Andreas Goser el 30 de Mayo de 2016
Technical Support resolved this issue together with the user by resetting the path and the toolbox cache.
restoredefaultpath
rehash toolboxcache
  1 comentario
Nitinkrishnan Balakrishnan
Nitinkrishnan Balakrishnan el 25 de Jul. de 2017
Hi,
It is still not working for me. I get this error Undefined variable "simulink" or class "simulink.exportToVersion".
When i try
>> simulink.exportToVersion(bdroot,'Trial.slx','R2011b','BreakUserLinks',true);

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Modeling 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