App Designer not Saving New Codes
14 次查看(过去 30 天)
显示 更早的评论
Hello Everyone,
My app designer is not saving new codes....It shows the * sign and when I save, it does not save the new code. I then have to shut down sometimes and the code still remains like the old code without the new code...Please advise me on what to do.
Cheers
13 个评论
Jacek Jagosz
2022-11-9
编辑:Jacek Jagosz
2022-11-9
@Walter Roberson Thank you a ton for your reply! Unfortunately my problem actually seems to be different.
People who reported this issue were either using BTRFS file system or new kernel, and rolling back to older kernel fixed it. I am not using BTRFS, just standard EXT4. I also went back from Kernel 6.0 to 5.15, and the issue is the same. I also never got a single error message, like they did. That is what makes me thing this is a separate issue.
Edit: But the workaround with moving the TEMPDIR to somewhere else worked! So thank you for linking it for me. I know R2020b works just fine on my system, but R2022b is broken in this way. Hope Mathworks can figure out a way to fix their support for /tmp and tmpfs
Adam
2023-5-24
I'm also having this same problem, for the 2nd time (in R2022b). I've only created two apps using App Designer in the last few years and both suffered from the same problem that they simply would not save (doesn't matter if I use Save or Save As).
First time I ended up having to re-create my App and saving worked that time, but it's frustrating after doing a bunch of work creating an app, that something as basic as Save simply doesn't work. I also submitted a ticket last time, but since I managed to work around it nothing really became of that.
采纳的回答
Shanmukha Voggu
2021-8-6
Hi DARLINGTON ETAJE,
We are investigating the sources for the cause of not saving new code and even some times the save may be delayed especially for large files
The reasons may be
- If the app is large then tab completion in large files can delay the save
- Parsing the contents of the file to fill in App Designer's Code Browser
The team is investigating other sources as it appears there are more causes for this than just the two above and may be fixed in future releases
I recommend splitting out some logic from the main MLAPP into external M-files to reduce the size of the app.
9 个评论
Fredrik Qwarfort
2024-5-28
编辑:Fredrik Qwarfort
2024-5-28
We have the same problem, running Matlab 2022b in both Red hat 9 or Alma9. I create an empty app with just a button, and press save. But it doesn't save anything. It still shows app1.mlapp* (where the star means not saved).
But i do notice that on the file system a temporary file with size 0 is created, but nothing more. This might be a hint of what goes wrong.
We are running in a server with many users, and the file system is a mounted NAS somewhere... We don't have a local disk at all.
But in 2023b it works! But in 2023b we can't get the keyboard to work which is even worse. ~ and ^ does not show up. Is there a fix for that instead? Right now no version works in Red hat 9 or alma9...
Gavin
2024-10-15
This issue was fixed in 2023b but is broken again in 2024b
When I do a save as ( e.g. to change version number) an error pops up claiming the program is open in another application (It's not). Then it trys to save and gets 10% in before hanging. App Designer has to be closed to recover.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 MATLAB Web App Server 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!