Strange behavior of hgtransform

1 回表示 (過去 30 日間)
Jean Bilheux
Jean Bilheux 2012 年 9 月 20 日
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 件のコメント
Azzi Abdelmalek
Azzi Abdelmalek 2012 年 9 月 20 日
編集済み: Azzi Abdelmalek 2012 年 9 月 20 日
I am not getting this message and your don't work
Matt Fig
Matt Fig 2012 年 9 月 20 日
type:
ver
tell us what it says.

サインインしてコメントする。

採用された回答

Walter Roberson
Walter Roberson 2012 年 9 月 21 日
One of the routines needed by hgtransform is being shadowed by one of your routines.

その他の回答 (1 件)

Jean Bilheux
Jean Bilheux 2012 年 9 月 21 日
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

カテゴリ

Help Center および File ExchangeAnimation についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by