Azzera filtri
Azzera filtri

Strange behavior of hgtransform

2 visualizzazioni (ultimi 30 giorni)
Jean Bilheux
Jean Bilheux il 20 Set 2012
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
  2 Commenti
Azzi Abdelmalek
Azzi Abdelmalek il 20 Set 2012
Modificato: Azzi Abdelmalek il 20 Set 2012
I am not getting this message and your don't work
Matt Fig
Matt Fig il 20 Set 2012
type:
ver
tell us what it says.

Accedi per commentare.

Risposta accettata

Walter Roberson
Walter Roberson il 21 Set 2012
One of the routines needed by hgtransform is being shadowed by one of your routines.

Più risposte (1)

Jean Bilheux
Jean Bilheux il 21 Set 2012
Thanks a lot Walter. I realized that was exactly my issue. I was stupid enough to name my .m file hgtransform.m So obviously (at least obviously now) my local m file took over the hgtransform algorithm.
Thanks very much.
Jean

Categorie

Scopri di più su Animation in Help Center e File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by