how to change this error
Show older comments
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 Comments
Walter Roberson
on 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
on 13 Oct 2017
Walter Roberson
on 13 Oct 2017
Please indicate where we can find the original code
Dhanya shree Srihari
on 13 Oct 2017
Edited: Walter Roberson
on 13 Oct 2017
Dhanya shree Srihari
on 15 Oct 2017
Accepted Answer
More Answers (1)
Dhanya shree Srihari
on 15 Oct 2017
0 votes
1 Comment
Walter Roberson
on 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.
Categories
Find more on Mathematics in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!