Appdesigner specific file edition issue

45 次查看(过去 30 天)
Cyrille
Cyrille 2025-12-29,19:37
评论: Cyrille 2025-12-30,20:26
After opening a specific .mlapp, each time I go back to the file tab inside appdesigner, I receive an dialog window : "The file has been modified outside of MATLAB Editor. Do you want to reload it?"
I have this problem only with one specific mlapp file. I have other mlapp files in the same directory for which this issue does not appear.
All these mlapp files are saved locally. They were created from guide apps, using Matlab migration tool.
This issue appears since the mlapp file creation with all the different Matlab releases I used since (R2025a on Linux now).
  9 个评论
dpb
dpb 2025-12-30,16:38
编辑:dpb 2025-12-30,19:43
If moving the .mlapp file alone to another clean machine/install results in the same symptoms, then it definitely is something inside the file structure/content itself that is triggering the editor to think it is/has been modified outside app designer and only Mathworks internal knowledge will be able to ferret out the cause.
There are specific formats app designer uses to locate pieces-parts of the app and if one of those is slightly different in expected specific format or content, that probably is why it is triggered and why it won't go away because the specific malformed line never gets corrected as it is somewhere in the auto-generated section(s), not in the user-editable code.(*)
If it isn't too large an app and you do still have a copy of the original GUIDE implementation, might just try reconverting instead of continuing to futz with this version...
(*) You might try opening the file in the editor externally and comparing the various section headings to another .mlapp file that doesn't show the same symptoms. You might be able to find an extra linefeed or a missing comment line or somesuch that doesn't quite match the machine-generated template and be able to fix to look like the other. Make backups first before doing such, of course...
Cyrille
Cyrille 2025-12-30,20:26
I opened a ticket and uploaded the .mlapp file. I will let you know the answer once it is resolved. I hope I won't have to redo the app migration

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

标签

产品


版本

R2025a

Community Treasure Hunt

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

Start Hunting!

Translated by