How to load / call functions from a VB DLL

Version 1.0.0.0 (527 ko) par Gordon
A brief overview on how to create a DLL in VB .Net which can be used from within Matlab.
2,8K téléchargements
Mise à jour 26 mai 2009

Afficher la licence

A brief overview on how to create a DLL (Dynamically Linked Library) in VB (Visual Basic) .Net which can be used from within Matlab. This is done using the actxserver command. One needs to use an approach like this instead of using the "loadlibrary" command, as one does not have the appropriate header file.
Hopefully this will provide a starting point for people like me who need some indication on where to start.

the zip contains:
- Step By Step Instructions in a PDF Document
- A Visual Studio 2008 VB.net DLL (Class) Project
- A Matlab file which shows how to call functions from the VB Dll, once it's been created

(I did this With Visual Studio 2008, and Matlab 2009a, but it should work with older versions too)

Citation pour cette source

Gordon (2025). How to load / call functions from a VB DLL (https://www.mathworks.com/matlabcentral/fileexchange/24261-how-to-load-call-functions-from-a-vb-dll), MATLAB Central File Exchange. Extrait(e) le .

Compatibilité avec les versions de MATLAB
Créé avec R2009a
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Catégories
En savoir plus sur Call Web Services from MATLAB Using HTTP dans Help Center et MATLAB Answers
Remerciements

Inspiré par : Using C# functions and forms in Matlab

Community Treasure Hunt

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

Start Hunting!
Version Publié le Notes de version
1.0.0.0