As it turns out, there was an empty object amrked "app.____" hidden in the UI list on teh left. Once deleted this was fixed. To note is that if you reverse that deletion, teh delete option for teh object is grayed out. In that case, close and reopen app designer.
Error in autogenerated code
3 views (last 30 days)
Show older comments
Dennis Premoli
on 12 Aug 2022
Answered: Dennis Premoli
on 23 Aug 2022
Hi,
I'm writing a MATLAB app in which I have inserted a custom component. However (for some reason) the generated code for this components has gone bezerk resulting in an error in autogenerated code you cannot edit. Deleting said component and also resaving the file has not solved much. Kinda out of ideas here. Is my app corrupted because of 1 line of code I cannot edit?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1096605/image.png)
with a
"parse error at '=' "
and
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1096610/image.png)
relative to the same component.
0 Comments
Accepted Answer
More Answers (1)
See Also
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!