mlapp won't open, urecognized method, property, or field DesignTimeProperties
5 visualizzazioni (ultimi 30 giorni)
Yes, I should back up more often and use different version numbers, so now I suffer a little.
I have been working on an app for a couple of years on a project, all of the recent work done in R2022b. Suddenly the mlapp won't open, and it won't let me access code to see what is wrong. I found this link from a staff member at The Mathworks (nice explanation, looks promising):
which is my current best guess. In January, I reduced the size of the axes, and I am guessing that I inadvertently modified the CreateFcn, clicked in the wrong place. Is there a way that I can get into the code to diagnose and fix the problem?
The error in R2023 beta, R2022b, 2020b, is that it is missing DesignTimeProperties.
In R2020a it says "Invalid input for argument 1 (rhs1): value must be a scalar.
I have a version from early January that I can open, but I would rather not have to remember what those recent changes were.
I would also like to know more generally how to get into an mlapp file's code if the app designer does not allow it, in case something like this happens again.
Mario Malic il 13 Mar 2023
Modificato: Mario Malic il 13 Mar 2023
It's not recommended to mess with the app files as Benjamin wrote in the linked post. If you have a technical support available, they should be able to take care of it.
If you really need to sneak-peek into the file, just unzip/unpack it, make sure you back it up.