Borrar filtros
Borrar filtros

Loading Simulink library created in a newer version...

6 visualizaciones (últimos 30 días)
Arun
Arun el 24 de Sept. de 2013
Comentada: Sourabh Bansal el 21 de Abr. de 2018
I had developed a Simulink Library consisting of a few blocks in v8.1 (2013a). When I tried to load the library into a system with Simulink v8 (2012b), I get a warning 'Loading model 'XXX' generated with a newer version (8.1) of Simulink' and also the blocks lose their functionality - The mask dialog does not open up when I double-click the model. Is there a way I can make the model library backward compatible.
PS: I did try by saving it as a .mdl file. Does not work.

Respuestas (1)

Kaustubha Govind
Kaustubha Govind el 24 de Sept. de 2013
Is this library part of a MathWorks product, or your own? As long as it's not part of a MathWorks product, you can use File>Save As and select R2012b from the drop-down list to save to the format of the previous version. If this is a MathWorks library, you need to install the same product on R2012b to work correctly.
  2 comentarios
Arun
Arun el 24 de Sept. de 2013
Hi Kaustubha,
There is no Save As... with "R2012b" option in Simulink 8.1 (2013a). The only two Save As... options available are as ".slx" and ".mdl" files. Perhaps what you meant was Export model to > Previous Version... . I tried that just now. Although the warning is gone now, the mask on my blocks have disappeared in R2012b. When developing blocks with masks in R2013a, do I have to take care of any settings in particular? As far as I remember, masks were supported in previous versions of Simulink as well, right?
PS: These blocks are project-specific and were developed by myself. They are not part of MathWorks product.
Sourabh Bansal
Sourabh Bansal el 21 de Abr. de 2018
Hi Kaustubha, The simulink file is downloaded from https://in.mathworks.com/matlabcentral/fileexchange/27533-model-of-seperately-excited-dc-motor and it is 2016a format. I have a 2015a version of MATLAB. When I open it, it shows error. Can you help me with this?

Iniciar sesión para comentar.

Categorías

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