How to give input values for this flag representation?
2 次查看(过去 30 天)
显示 更早的评论
Hi Users, DisplayFlag = flag indicating whether to display and plot results. What value should give as input?
0 个评论
回答(1 个)
Image Analyst
2014-8-18
I would pass in true if you want the results plotted/displayed and pass in false if you don't want them plotted/displayed.
% Plot results
myFunction(true);
% Do not plot results
myFunction(false);
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Annotations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!