how to change this error
Mostrar comentarios más antiguos
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 comentarios
Walter Roberson
el 13 de Oct. de 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
el 13 de Oct. de 2017
Walter Roberson
el 13 de Oct. de 2017
Please indicate where we can find the original code
Dhanya shree Srihari
el 13 de Oct. de 2017
Editada: Walter Roberson
el 13 de Oct. de 2017
Dhanya shree Srihari
el 15 de Oct. de 2017
Respuesta aceptada
Más respuestas (1)
Dhanya shree Srihari
el 15 de Oct. de 2017
0 votos
1 comentario
Walter Roberson
el 15 de Oct. de 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.
Categorías
Más información sobre Mathematics en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!