Problems with Simulink R2014b in Linux

1 visualización (últimos 30 días)
Jose Gomez
Jose Gomez el 29 de Oct. de 2014
Respondida: Bas van de Kerkhof el 3 de Mayo de 2016
When opening a simulink in linux file it shows shows the errors attached, while in Mac OS X works perfectly well. Any hints?
Thanks in advance,
Jose M.
Warning: Attempt to reference field of non-structure array.
Error in getModelResourcesFiles (line 37) notes = chart.find('-isa', 'Stateflow.Note');
Error in slxPackager/partDefResources>i_save (line 47)
Error in Simulink.SLXPartHandler/pExecute (line 52) feval(cb,packager);
Error in Simulink.SLXPartHandler/doSave (line 41) pExecute(obj,packager,cb,'Save');
Error in slxPackager/executeSaveCallbacks (line 59)
Error in slxPackager/save (line 62)
Error in slprivate (line 11) [varargout{1:nargout}] = feval(function_name, varargin{1:end});
Error in SLStudio.FileMenu>SaveCB (line 390) cbinfo.studio.App.save(cbinfo.model.Handle, false);

Respuestas (3)

Sandip Kumar
Sandip Kumar el 30 de Oct. de 2014
Seems the model on Linux machine is corrupted, whereas the model on Mac is fine. Please copy the model from Mac into Linux and try opening the model again.
Thanks, Sandip

Jose Gomez
Jose Gomez el 31 de Oct. de 2014
That was already done a number of times, and the results have been always the same.
Best,
Jose M.

Bas van de Kerkhof
Bas van de Kerkhof el 3 de Mayo de 2016
I got the same errors but while copying a project from one windows computer to the other. The problem I encountered came from the matlab function blocks. The code inside these blocks were not copied together with the rest of the project.
So, have you included any matlab function blocks in your model? Can you open these blocks?
I could not open the blocks to view the code within. So I just created a new function block and put the right code inside. That solved it for me.

Categorías

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

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by