MATLAB Runtime Server    

Adapting the Design for Runtime Execution

This example is a simple GUI-driven application that evaluates and plots a MATLAB expression. Its GUI is shown below.

To use the application, enter a valid MATLAB expression in the Plot field of the GUI and press the Draw button. The application plots the expression in its GUI. To erase the plot, press the Erase button.

Overview of Adaptations

myapp.m incorporates several adaptations for Runtime Server execution:

Also, the C program for this example is adapted for Runtime Server execution because its engOpen command uses one of the flags

when invoking MATLAB.


  Preparing the Example Files Organizing Files and Managing Startup Tasks