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"
Afficher commentaires plus anciens

I keep trying to solve but still can't. Some buddy can help me solve this? I appreciate your advice !
1 commentaire
John D'Errico
le 23 Mai 2016
We might try, but how can we see? Is there text in that image?
Réponse acceptée
Plus de réponses (1)
Image Analyst
le 23 Mai 2016
Replace the whole function contents with this:
t0 = 60;
threshold = t0 + (max(img(:)) + min(img(:))) / 2;
sout = img > threshold;
1 commentaire
ching linnkee
le 24 Mai 2016
Catégories
En savoir plus sur HDL Coder dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!