MATLAB: Is the rotation state not correctly copied when COPYOBJ is called on a figure that has ROTATE3D turned “ON” in MATLAB

copycopyobjdeepfigureMATLABr12.1r13rotate3drotation

Why is the rotation state not correctly copied when COPYOBJ is called on a figure that has ROTATE3D turned "ON" in MATLAB?
It looks like the rotation state is not being correctly copied across when COPYOBJ is called on a figure that has rotate3d turned on. Underlying data still appears to reference objects in the original figure. When the original figure is deleted, the new one starts throwing errors.
In MATLAB 6.5 (R13) this manifested itself as rotation being broken, being unable to save the figure and being unable to clear out the corrupt data.

Best Answer

This bug has been fixed in Release 14 Service Pack 3 (R14SP3). For previous product releases, read below for any possible workarounds:
This has been verified as a bug in in MATLAB 6.5 (R13) in the way that COPYOBJ handles copying figures.
There are currently no known workarounds.