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 次查看(过去 30 天)
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.

采纳的回答

MathWorks Support Team
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.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Call C from MATLAB 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by