MATLAB: Strange behavior of hgtransform

errorhgtransfrom

The following very simple code, taken from a book, does not work and I can't figure out why
hPlot = plot(0:0.1:10, sin(0:0.1:10));
hGroup = hgtransform;
this returns the following error message
Attempt to call constructor hgtransform with incorrect letter case. Error in <file_name> (line 2)
Any idea why? Thanks
Jean

Best Answer

One of the routines needed by hgtransform is being shadowed by one of your routines.
Related Question