How can I turn this pseudo code into a Matlab code?

I want to make a for loop that describes this but I am unsure how to start. I am making a function with the input X.
Pseudo code:
If X is not given,
look for the object 'Hfig4' and extract the data saved under the 'userdata' field.
How can I turn this into matlab code?

댓글 수: 1

What have you tried???
doc nargin
doc findobj
Doesn't seem to be any need for any for loop; an if...end clause, perhaps.

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

답변 (0개)

카테고리

도움말 센터File Exchange에서 Creating, Deleting, and Querying Graphics Objects에 대해 자세히 알아보기

질문:

S
S
2015년 2월 12일

댓글:

dpb
2015년 2월 12일

Community Treasure Hunt

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

Start Hunting!

Translated by