Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

seagrid_test error "Undefined function 'any'..." #1

Open
MathewBiddle opened this issue Apr 1, 2017 · 1 comment
Open

seagrid_test error "Undefined function 'any'..." #1

MathewBiddle opened this issue Apr 1, 2017 · 1 comment

Comments

@MathewBiddle
Copy link

Hi All, not sure if this code is still being maintained, but I tried to run seagrid_test in MATLAB R2016B and I get the following error notification:

Undefined function 'any' for input arguments of type
'matlab.graphics.GraphicsPlaceholder'.

Error in busy (line 10)
if ~any(findobj('Type', 'figure')), return, end

Error in seagrid (line 68)
busy

Error in seagrid_test (line 24)
self = seagrid(theCoastline, theBathymetry)

I did find this ticket in the ROMS discussion board, but wanted to see if there are plans to update seagrid for new matlab versions.

Thanks! I was able to get it to work on an old version of matlab and it is extremely useful.

@balaji426
Copy link

Hi All, not sure if this code is still being maintained, but I tried to run seagrid_test in MATLAB R2016B and I get the following error notification:

Undefined function 'any' for input arguments of type
'matlab.graphics.GraphicsPlaceholder'.

Error in busy (line 10)
if ~any(findobj('Type', 'figure')), return, end

Error in seagrid (line 68)
busy

Error in seagrid_test (line 24)
self = seagrid(theCoastline, theBathymetry)

I did find this ticket in the ROMS discussion board, but wanted to see if there are plans to update seagrid for new matlab versions.

Thanks! I was able to get it to work on an old version of matlab and it is extremely useful.

use isempty in place of ~any

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants