MATLAB Runtime Server    

ActiveX Automation Example

This example illustrates the steps involved in preparing an ActiveX Automation-based Visual Basic application for the MATLAB Runtime Server on PC platforms. The major steps in the procedure are the same as those for the MATLAB GUI example in Developing a MATLAB Runtime GUI Application:

The example application uses two of the MATLAB Engine's ActiveX API methods, Execute and GetFullMatrix. The Execute method accepts a string argument and evaluates it in the MATLAB workspace. The GetFullMatrix method returns the real and imaginary components of a workspace matrix in two separate variables. See External Interfaces in the MATLAB documentation set for more information about these methods.

This section begins with instructions for installing the example files included in the software.


  Testing with the Runtime Server Variant Installing the Example Files