Call MATLAB Function from Visual Basic .NET Client
Note
To call a MATLAB® function from a Microsoft®
Visual Basic® .NET application in MATLAB R2022b or later, consider using the MATLAB Engine API for .NET. For more information, see Call MATLAB from .NET. For
examples, see MathWorks.MATLAB.Engine.MATLABEngine
.
If you need to maintain existing programs created for MATLAB R2022a or earlier, use this example which calls MATLAB functions from a Visual Basic .NET client application through a COM interface. The example plots a graph in a new MATLAB window and performs a simple computation.
See Also
MathWorks.MATLAB.Engine.MATLABEngine
| GetFullMatrix
| Execute