references to unsavable objects when saving
Mostrar comentarios más antiguos
I am working on an app in MATLAB's app designer. I want to be able to save the app during a run so that the user can come back to a session. (why isn't this an automatic option?).
I tried to add a save function that saves the status of all the relevant buttons, context menus etc. the problem is that many of them reference the app itself. for instance, the app is linked to the parents of alll the buttons, many of the callback functions reference the app, context menus are linked to the app, etc.
MATLAB refuses to save anything that has to do with the app, prompting "unable to save app designer object. save is not supported for matlab.apps.AppBase objects"
I am looking for a way around this. my thought is perhaps to find automaticaly all references to a specific object (The app) and replace them with references to a dummy variable, that will be replaced again by the app when loading.
would be thankful for any assistance
Nathan
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Data Type Identification en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!