Can I call a MATLAB Compiler generated shared library from Visual Basic?

1 view (last 30 days)
I have a Visual Basic application that I want to have use some MATLAB functionality. Can I use a MATLAB Compiler generated shared library to do this?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 18 Apr 2023
Edited: MathWorks Support Team on 19 Apr 2023
To call a MATLAB Compiler generated shared library from Visual Basic you need to take care of the data type conversions. The easiest way to do this is to use the MATLAB Builder NE, a product which handles this for you.
You can view the examples in the product documentation from the MATLAB Builder NE product page:

More Answers (0)

Categories

Find more on COM Component Integration in Help Center and File Exchange

Products


Release

R14SP1

Community Treasure Hunt

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

Start Hunting!