File Exchange

image thumbnail

Calling functions from a user defined shared library

version 1.0.0.1 (10.4 KB) by

Demonstrates how to use the loadlibrary function,and use of pointers

2 Downloads

Updated

View License

This package is composed in fact of 2 things :
- First thing is MATLAB M file, with a dll and a header file. This script shows how to call some functions from the dll included
- The zip file included is the complete Visual studio project, in Visual Studio .NET format, in order to build the Dll called by the MATLAB script

Comments and Ratings (1)

Marcelo Perlin

I'm running it, but, even though I'm in the same working dir, I get the error:

??? There was an error loading the library "C:\Program Files\MATLAB\R2006a\work\Calling_external\Calling External dll\Lib_Math.dll"
Error using ==> loaddefinedlibrary
The specified module could not be found.

Error in ==> loadlibrary at 273
diagnoseError(err);

Error in ==> CallingExternalDLL at 12
loadlibrary('Lib_Math','Lib_Math.h');

Am I missing any requirement ?

Updates

1.0.0.1

Updated license

MATLAB Release
MATLAB 7.4 (R2007a)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Calling External dll/