Saving Appdesigner: Expected "appdesign​er.interna​l.codegene​ration.mod​el.CodeDat​a"

3 views (last 30 days)
Hi all, Can somebody help me? I Have tried to Run a App or save it but it is imposible to do nothing. All code appear be ok, but the problem still, It is weird because if I click in the App directly is all run well but through the appdesigner give me this error I Can't continue development my app.
Thanks!.

Accepted Answer

Florian
Florian on 5 Dec 2017
Re-install Matlab worked for me!

More Answers (2)

Mara Gati
Mara Gati on 4 Jan 2019
I had the same problem in r2018b. I used this link.
restoredefaultpath
It went back to working normally.

liqun fang
liqun fang on 4 Sep 2022
我的版本是2020b,我也遇到了这个问题,我的某个app可以通过鼠标右键正常运行,但是打开后会提示提问中的错误,并且appdesigner的运行按钮已经无法点击而且也无法另存为。其余的app都是正常的
我发现这个问题的产生原因是因为app内某一块程序出错,我的是一个面板panel出现了问题,我不知道这个面板出现了什么问题。但是我用MATLAB Online打开这个错误app然后删除掉panel的程序再另存为,之后我电脑的2020b就可以正常打开这个错误app了。但是我需要重新搭建panel这部分的程序。

Categories

Find more on Develop Apps Using App Designer in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!