Record Case Detail

Notes

This function is in beta test. Please help improve it in the issues here.

Stderr

{File: /out/package/ex3.m Line: 38 Column: 13
Invalid expression. When calling a function or indexing a variable, use
parentheses. Otherwise, check for mismatched delimiters.
} 
{Unable to resolve the name map2.in.
} 
cat: output.txt: No such file or directory

Hints

Your answer may be identical to the JOJ answer in the first several lines.

However, the main problem you meet now is Runtime Error. And the exit code of your program is 1, which should be 0.

Please double check your code to solve this problem and try again.

Your Answer

MATLAB is selecting SOFTWARE OPENGL rendering.

                            < M A T L A B (R) >
                  Copyright 1984-2021 The MathWorks, Inc.
                  R2021a (9.10.0.1602886) 64-bit (glnxa64)
                             February 17, 2021

 
For online documentation, see https://www.mathworks.com/support
For product information, visit www.mathworks.com.
 
>> [Warning: Unable to create preferences folder in /.matlab/R2021a. A system error
has occurred. Using a temporary preferences folder for this MATLAB session. See
the <a href="matlab: helpview([docroot
'/matlab/helptargets.map'],'matlabenvironment_prefdir_location')">preferences
documentation</a> for more details.] 
>> >> Your output.txt:

JOJ Answer

MATLAB is selecting SOFTWARE OPENGL rendering.

                            < M A T L A B (R) >
                  Copyright 1984-2021 The MathWorks, Inc.
                  R2021a (9.10.0.1602886) 64-bit (glnxa64)
                             February 17, 2021

 
For online documentation, see https://www.mathworks.com/support
For product information, visit www.mathworks.com.
 
Your output.txt:
Start at location row: 4, column: 1
Treasure at location row: 3, column: 5
Treasure at location row: 1, column: 5
2 Treasure(s) found in all.