how to change this error
Afficher commentaires plus anciens
Problem finding getMapfileName in com.mathworks.mlwidgets.help.HelpUtils: null
if isBetween(map_r(cnt1,cnt2),min(x1_r),max(x1_r))&& isBetween(map_g(cnt1,cnt2),min(x1_g),max(x1_g))&& isBetween(map_b(cnt1,cnt2),min(x1_b),max(x2_b))
result(cnt1,cnt2,3)=1;
5 commentaires
Walter Roberson
le 13 Oct 2017
I think we will need to see more of the error message.
Is map_r a function or a java object or an array?
Is that your code or code from some Mathworks routine?
Dhanya shree Srihari
le 13 Oct 2017
Walter Roberson
le 13 Oct 2017
Please indicate where we can find the original code
Dhanya shree Srihari
le 13 Oct 2017
Modifié(e) : Walter Roberson
le 13 Oct 2017
Dhanya shree Srihari
le 15 Oct 2017
Réponse acceptée
Plus de réponses (1)
Dhanya shree Srihari
le 15 Oct 2017
0 votes
1 commentaire
Walter Roberson
le 15 Oct 2017
That cannot be the full code. What you posted only has one line of code, all of which is a comment. Even if we guess at the line breaks, the line shown in the message as being in error is at most line 3, not the line 10 of the error message. This is important because I think that the error is on the lines you omitted.
Catégories
En savoir plus sur Mathematics dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!