MATLAB Answers

not documented in Matlab?

1 view (last 30 days)
G A
G A on 3 Jun 2019
Edited: Geoff Hayes on 3 Jun 2019
Both, ishandle(H) and ishghandle(H), are given in doc with only one input argument possibility, however ishghandle(H,'property') produces no error (and can be seen used in that way in guide exported files).
>> x=-2*pi:0.1:2*pi;
>> h=plot(x,sin(x));
>> ishandle(h,'Color')
Error using ishandle
Too many input arguments.
>> ishghandle(h,'Color')
ans =
logical
0

  0 Comments

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!

Translated by