MATLAB.jl
MATLAB.jl copied to clipboard
conflict of netcdf library
When using MATLAB the netcdf library is pointed to netcdf.dll in the MATLAB installation folder and if I call NCDatasets
it now reports
error compiling nc_open: could not load library "C:\Users\Jianghui\.julia\conda\3\Library\bin\netcdf.DLL"
The specified module could not be found.
How could I redirect the library?
I have the same problem when I use the MATLAB package on Windows server 2016. For macOS and Linux it works fine.
I have asked a question on discourse but did not get any answer that solved my problem: https://discourse.julialang.org/t/netcdf-dll-library-not-found-on-windows-server-2016/46072?u=josimar
What's the exact issue? The library cannot be opened?
The exact issue is that I can't have MATLAB and NetCDF packages on the same environment. I fixed the link above to the correct problem. Could you take a look? Thanks!
This is tricky since NetCDF is using conda to load things and conda is just correctly loading and referencing libraries which somehow ends up clashing with the ones that MATLAB uses. The best thing we can push for is for NetCDF to migrate to jll's, which seems blocked(?) by HDF5.jl also having issues migrating to jll
Is it even possible to do a manual load/change of directory?