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

3 次查看(过去 30 天)
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?

采纳的回答

Andreas Goser
Andreas Goser 2016-5-30
Technical Support resolved this issue together with the user by resetting the path and the toolbox cache.
restoredefaultpath
rehash toolboxcache
  1 个评论
Nitinkrishnan Balakrishnan
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);

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Modeling 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by