Simbiology "Project Save Error"
이전 댓글 표시
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/'
채택된 답변
추가 답변 (1개)
Walter Roberson
2022년 11월 15일
편집: Walter Roberson
2022년 11월 15일
0 개 추천
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
Jim Bosley
2022년 11월 16일
Walter Roberson
2022년 11월 16일
편집: Walter Roberson
2022년 12월 5일
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
2022년 11월 18일
Jim Bosley
2022년 11월 18일
커뮤니티
더 많은 답변 보기: SimBiology Community
카테고리
도움말 센터 및 File Exchange에서 Import Data에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!