Strange behavior of hgtransform

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
type:
ver
tell us what it says.

댓글을 달려면 로그인하십시오.

 채택된 답변

Walter Roberson
Walter Roberson 2012년 9월 21일

1 개 추천

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

추가 답변 (1개)

Jean Bilheux
Jean Bilheux 2012년 9월 21일

0 개 추천

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

카테고리

도움말 센터File Exchange에서 Object Containers에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by