CHLNDDEV / OceanMesh2D

A two-dimensional triangular mesh generator with pre- and post-processing utilities written in pure MATLAB (no toolboxes required) designed specifically to build models that solve shallow-water equations or wave equations in a coastal environment (ADCIRC, FVCOM, WaveWatch3, SWAN, SCHISM, Telemac, etc.).
https://github.com/sponsors/krober10nd
GNU General Public License v3.0
178 stars 64 forks source link

Invalid MEX-file, Access Denied #268

Closed ablairification closed 2 years ago

ablairification commented 2 years ago

When running RunTests.m or Example_1_NZ.m I get the following error:

Invalid MEX-file 'C:\Work\OceanMesh2D\@ann\private\annmex.mexw64': Access is denied.

I've attempted to open up the permissions on that file and directory, but it didn't help.

Probably a very beginner's issue, but I haven't been able to find any leads on a fix.

ablairification commented 2 years ago

Sorry, Windows permission-ing was not working but I tried my Linux terminal and that seems to have worked!

Very excited to see if I can get this working for my needs, and stoked to see Python and Delft3D progress being made!

krober10nd commented 2 years ago

Thanks @ablairification Out of curiosity what version of Windows are you using and what version of MATLAB are you using?

ablairification commented 2 years ago

I'm running MATLAB R2020a on Windows 10 Enterprise version 21H2. It is an enterprise 'managed' machine, so that may have something to do with the permission issue. Also I should clarify that by 'Linux' I meant a MobaXterm terminal where I could use chmod; I am much more *Nix command-line savvy than Windows CLI!

Best, Austen

On Wed, May 25, 2022 at 7:17 PM Keith Roberts @.***> wrote:

Thanks @ablairification https://github.com/ablairification Out of curiosity what version of Windows are you using and what version of MATLAB are you using?

— Reply to this email directly, view it on GitHub https://github.com/CHLNDDEV/OceanMesh2D/issues/268#issuecomment-1137939540, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZKZYEOWRCDOKYX53N4AE3LVL2YINANCNFSM5W6CZ3XA . You are receiving this because you were mentioned.Message ID: @.***>