When I run this example, it will prompt an error
Incorrect use of min
Option is invalid. The option must be either 'omitnan' or 'inclusive'.
Error tolStar (line 203)
If (min (is, [], 'all')<1)   (max (is, [], 'all')>kgrid Nx)  
Error offGridPoints (line 320)
[ind, is, js]=tolStar (bli_tolerance, kgrid, point, debug);
Error kWaveArray/getOffGridPoints (line 1339)
Grid_ Weights=offGridPoints (kgrid, integration_points, scale,...)
Error kWaveArray/getArrayBinaryMask (line 849)
Grid_ Weights=obj. getOffGridPoints (kgrid, ind, true);
Error Example_ At_ Array_ As_ Source (line 85)
Source. p_ Mask=karay. getArrayBinaryMask (kgrid);
I want to know how I can solve this problem
kWave
A MATLAB toolbox for the timedomain
simulation of acoustic wave fields
I cannot run the example example_at_array_as_sensor
(2 posts) (2 voices)
Posted 5 months ago #

If you remove everything from the MATLAB path using
restoredefaultpath
and just add kWave, does it work then?Posted 5 months ago #
Reply
You must log in to post.