Best practice for saving and loading axes children from and to an app designer axes?
3 vues (au cours des 30 derniers jours)
I have an app created in app designer. It has 3 GUI windows. The master window declares a public data container, which is subsequently written to by two slave windows. Each slave window has several figure axes. On closing of a slave window, I would like to save the slave figure axes objects to the master data container such that when the slave window is opened again, I repopulate the slave window figure axes exactly as they were before. What would be convenient of course is something like this for save:
app.MasterCallingApp.Slave1Data.axes1 = app.UIAxes1;
and something like this for loading:
app.UIAxes1 = app.MasterCallingApp.Slave1Data.axes1;
What is the best practice for how to accomplish this? I did a bit of searching and landed on some leads, but I tried some of them without success, and others look too complicated for me to consider.
Thank you for your help!