Why do I get the error "ERROR: Failed to load MEX-file : hdf." when I run my stand-alone application on a computer that does not have MATLAB installed?
Show older comments
Why do I get the error "ERROR: Failed to load MEX-File : hdf." when I run my stand-alone application on a computer that does not have MATLAB installed?
I have written a program that uses the MATLAB I/O function HDFREAD. This function requires the shared library, hdf.dll.
I have run the MGLINSTALLER on my target machine, and the file hdf.dll is located at:
$MGL_INSTALL_DIR/toolbox/matlab/iofun
(where $MGL_INSTALL_DIR is the root installation directory for the MGLINSTALLER)
But I get the following error when I try to run my program:
Unable to load mex file: c:\mgldir\toolbox\matlab\iofun\hdf.dll.
The specified module could not be found.
Failed to load MEX-File : hdf.
EXITING
D:\Support\compiler>plotc test.hdf
Can you tell me what is going on?
Accepted Answer
More Answers (0)
Categories
Find more on HDF4 Files in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!