Why do I receive an error that "library name and function name are needed" when using the generic DLL interface in MATLAB 7.0 (R14) and later?

3 views (last 30 days)
When using LOADLIBRARY in MATLAB 7.0 (R14) and later, I receive the following error message:
??? Error using ==> calllib
To call a function both the library name and function name are needed.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 27 Jun 2009
This bug has been fixed in Release 14 Service Pack 3 (R14SP3). For previous product releases, read below for any possible workarounds:
A patch is available for MATLAB 6.5 (R13) to provide the interface to generic libraries. However, applying this patch to MATLAB 7.0 (R14) and later results in an error. The generic shared library functionality is now built in to the product. To remedy this error, reinstall MATLAB to use the most recent version of the generic library interface.

More Answers (0)

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!