Why am I unable to access application data for graphics objects created by using the copyobj function in MATLAB R2014b?
Ältere Kommentare anzeigen
I have an axes which contains a surface plot. I assign application data to the axes object using the following command:
setappdata(axesHandle,'data',data)
I then copy the axes to another figure using the 'copyobj' function in the following way:
f = figure;
new_axes = copyobj(axesHandle,f);
In MATLAB R2014a, I the new axes in the new figure has the sample application data as the original axes, however in MATLAB R2014b the new axes does not have the same application data compared to the original axes. Why is that so?
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Creating, Deleting, and Querying Graphics Objects finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!