Loading Library Errors
R2026bErrors occur when the shared library is not a valid library. MATLAB® displays messages similar to the following:
There was an error loading the library "F:\mylibs\testlib.dll" 'F:\mylibs\testlib.dll' is not a valid shared library.
or
There was an error loading the library "/home/myname/testlib.so" '/home/myname/mylibs/testlib.so' has different architecture than the host.
If the library has dependencies which MATLAB cannot find, then MATLAB displays messages as described in Invalid MEX File Errors.
For more information, see How do I determine which libraries my MEX file or stand-alone application requires?