Simbiology "Project Save Error"
Mostrar comentarios más antiguos
For some reason I cannot save simbiology projects. When I try (for new files, and files I've loaded) I'm now getting:
"Project Save Error
Error occurred while saving the project
Could not move project"
This is in Ubuntu 22.04. ver gives me
MATLAB Version: 9.12.0.2009381 (R2022a) Update 4
MATLAB License Number: 4xxxxxxxxxxx
Operating System: Linux 5.15.0-52-generic #58-Ubuntu SMP Thu Oct 13 08:03:55 UTC 2022 x86_64
Java Version: Java 1.8.0_202-b08 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
Pretty sure that this is a permissions error. BTW,
tempdir
returns
'/tmp/'
Respuesta aceptada
Más respuestas (1)
Walter Roberson
el 15 de Nov. de 2022
Editada: Walter Roberson
el 15 de Nov. de 2022
0 votos
you are potentially seeing the relatively recent issues due to Linux kernel changes in how files are copied, changes that mostly affect tempfs.
The workaround is to create a temporary directory on an ordinary file system and create an environment variable TMPDIR or TEMP (if I recall correctly) pointing there, and start matlab with that in effect. If you are starting from an icon you might need additional steps to have the environment variable in effect at the time of program launch as icons do not go through the full login sequence that interactive shells go through.
4 comentarios
Jim Bosley
el 16 de Nov. de 2022
Walter Roberson
el 16 de Nov. de 2022
Editada: Walter Roberson
el 5 de Dic. de 2022
https://www.mathworks.com/matlabcentral/answers/97720-how-do-i-change-the-temporary-directory-that-matlab-uses#comment_2449208 where I point out the "after a restart". So the environment variable needs to exist when you start matlab. Which is why I talked about icons, since .bashrc and similar are not processed when you use icons so you may need to take additional steps. If the icon permits executing a script that sets the variable first that is probably the best approach.
Jim Bosley
el 18 de Nov. de 2022
Jim Bosley
el 18 de Nov. de 2022
Comunidades de usuarios
Más respuestas en SimBiology Community
Categorías
Más información sobre Import Data en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!