When I run the following code:
f = figure; plot(1:10) z1 = zoom(gcf); set(z1,'ActionPostCallback','TMWtest') saveas(f,'TMW_example_fig','fig') close all drawnow open('TMW_example_fig.fig') z2 = zoom(gcf); get(z2,'ActionPostCallback')
The GET command returns the following:
ans = []
Why is the zoom callback not saved?
Best Answer