Calling functions from a user defined shared library

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

You are now following this Submission

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

Cite As

Vincent Leclercq (2026). Calling functions from a user defined shared library (https://au.mathworks.com/matlabcentral/fileexchange/16026-calling-functions-from-a-user-defined-shared-library), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.1

Updated license

1.0.0.0