MATLAB: Reopen a figure saved in a struct

reopen figurestruct formatworkspac

Hi there
I have got many figures saved in the workspace as a struct:
PGRet(5).(cell2mat(UniverseName))=figure(1)
How can I open the figure stored with the above mentioned code [cell2mat(UniverseName) = AktCH]
I tried this code:
figure(PGRet(5).AktCH)
But it did not work.
May you help me?

Best Answer

You can only get the figures back if you save()'d PGRet(5) to a .mat or .fig file before you closed the figures.
If you did happen to do that, then the figure would be recreated when you loaded PGRet(5) from the file. all of the figures would be recreated at the same time, unless you found a way to reload only part of the file (see matlabFile() )
Related Question