Call MATLAB Function from Visual Basic .NET Client
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 examples, see
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.