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!