why The name 'Parent' is not an accessible property for an instance of class 'matlab.graphics.GraphicsPlaceholder'?
16 ビュー (過去 30 日間)
古いコメントを表示
saran saenaubon
2021 年 11 月 30 日
コメント済み: saran saenaubon
2021 年 12 月 1 日
I try to use hgtransform like this tutorial(Create transform object - MATLAB hgtransform (mathworks.com) but my matlab doesn't run properly. It's always tell me that The name 'Parent' is not an accessible property for an instance of class 'matlab.graphics.GraphicsPlaceholder'.
0 件のコメント
採用された回答
Walter Roberson
2021 年 11 月 30 日
Put a breakpoint in at the begining of the sequence of statements where h() is assigned to, the series
h(1) = surface(x,y,z,'FaceColor','red');
h(2) = surface(x,y,-z,'FaceColor','green');
h(3) = surface(z,x,y,'FaceColor','blue');
h(4) = surface(-z,x,y,'FaceColor','cyan');
h(5) = surface(y,z,x,'FaceColor','magenta');
h(6) = surface(y,-z,x,'FaceColor','yellow');
Use the debugger to dbstep to execute one of the lines at a time. Examine the h vector afterwards. Do all of the entries in h show up as GraphicsPlaceholder ? Do some of the entries in h show up as GraphicsPlaceholder ? If so, after the h(6) assignment, which entries in h are GraphicsPlaceholder ?
What shows up for the command
which -all surface
7 件のコメント
Walter Roberson
2021 年 12 月 1 日
編集済み: Walter Roberson
2021 年 12 月 1 日
What do you get if you try the following at the command line ?
h1 = surface()
h2 = surface()
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Graphics Performance についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!