How to load / call functions from a VB DLL

A brief overview on how to create a DLL in VB .Net which can be used from within Matlab.

現在この提出コンテンツをフォロー中です。

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 (2026). How to load / call functions from a VB DLL (https://jp.mathworks.com/matlabcentral/fileexchange/24261-how-to-load-call-functions-from-a-vb-dll), MATLAB Central File Exchange. に取得済み.

謝辞

ヒントを得たファイル: Using C# functions and forms in Matlab

カテゴリ

Help Center および MATLAB AnswersCall Web Services from MATLAB Using HTTP についてさらに検索

一般的な情報

MATLAB リリースの互換性

  • すべてのリリースと互換性あり

プラットフォームの互換性

  • Windows
  • macOS
  • Linux
バージョン 公開済み リリース ノート Action
1.0.0.0