how to change this error
Mostra commenti meno recenti
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 Commenti
Walter Roberson
il 13 Ott 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
il 13 Ott 2017
Walter Roberson
il 13 Ott 2017
Please indicate where we can find the original code
Dhanya shree Srihari
il 13 Ott 2017
Modificato: Walter Roberson
il 13 Ott 2017
Dhanya shree Srihari
il 15 Ott 2017
Risposta accettata
Più risposte (1)
Dhanya shree Srihari
il 15 Ott 2017
0 voti
1 Commento
Walter Roberson
il 15 Ott 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.
Categorie
Scopri di più su Mathematics in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!