How to load / call functions from a VB DLL

版本 1.0.0.0 (526.8 KB) 作者: Gordon
A brief overview on how to create a DLL in VB .Net which can be used from within Matlab.
2.8K 次下载
更新时间 2009/5/26

查看许可证

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)

引用格式

Gordon (2024). 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. 检索来源 .

MATLAB 版本兼容性
创建方式 R2009a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Call Web Services from MATLAB Using HTTP 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.0