How can I turn this pseudo code into a Matlab code?
1 回表示 (過去 30 日間)
古いコメントを表示
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 件のコメント
dpb
2015 年 2 月 12 日
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 件)
参考
カテゴリ
Help Center および File Exchange で Loops and Conditional Statements についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!