references to unsavable objects when saving
이전 댓글 표시
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
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Data Type Identification에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!