The 2nd and 3rd test problems now fail with the error message:
Error using evalin
Undefined function or variable 'score'.
Error in Test2 (line 30)
assignin('caller','score',evalin('caller','score')-100+round(a.e/5*100));
I've bypassed this problem creating a function called score, which returns 300.
Where did you put the function score Rafael ? Cause if it is nested or after the first it is just ignored
Please someone with curator rights fix this one cause its a badge problem
Return the largest number that is adjacent to a zero
3750 Solvers
951 Solvers
Back to basics 22 - Rotate a matrix
763 Solvers
Calculate the area of a triangle between three points
872 Solvers
117 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!