Info

此问题已关闭。 请重新打开它进行编辑或回答。

How to get output in edit box of for loop in matlab gui?

1 次查看(过去 30 天)
im = imread('image5.jpg');
bw= im2bw(im,0.7);
label=bwlabel(bw);
stats=regionprops(label,'Solidity','Area');
density=[stats.Solidity];
area=[stats.Area];
high_dense_area=density>0.8;
max_area=max(area(high_dense_area));
a = max_area
if (100<a<250)
fprintf('stage 1a');
else
fprintf('stage0');
end
  1 个评论
Walter Roberson
Walter Roberson 2019-4-25
https://www.mathworks.com/matlabcentral/answers/458428-how-to-get-output-of-for-loop-in-edit-box-for-matlab-gui is more complete question

回答(0 个)

此问题已关闭。

标签

Community Treasure Hunt

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

Start Hunting!

Translated by