Hi...I got some issue here,i get "undefined function or variable matlab 'sout'. The first class assignment to a local variable determine its class"
显示 更早的评论

I keep trying to solve but still can't. Some buddy can help me solve this? I appreciate your advice !
1 个评论
John D'Errico
2016-5-23
We might try, but how can we see? Is there text in that image?
采纳的回答
更多回答(1 个)
Image Analyst
2016-5-23
Replace the whole function contents with this:
t0 = 60;
threshold = t0 + (max(img(:)) + min(img(:))) / 2;
sout = img > threshold;
类别
在 帮助中心 和 File Exchange 中查找有关 Printing and Saving 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!