MATLAB Runtime Server    

Testing with the Runtime Server Variant

To test the application by using the Runtime Server variant, follow these steps:

  1. (PC only) Rename the license file, which is matlabroot\bin\win32\license.dat
  2. Start the MATLAB Runtime Server by using this command at the system prompt.
  1. matlab -runtime (PC)
    matlab -runtime -c dummy (UNIX)

  1. From the system prompt, navigate to the toolbox\runtime\examples\engineAPI directory
  2. Type DrawAppWin (PC), or DrawApp (UNIX)

The C program displays this message in the Xterm or DOS window.

The program also invokes MATLAB, which in turn invokes myapp.p and the application's other P-files as appropriate.

You should see the application's GUI and figure window. Test the application by typing expressions in the Plot field and pressing the buttons. To quit the DrawApp application, activate the system window from which you started DrawApp, and press the Enter or Return key.

Remember to restore the license file when you want to use commercial MATLAB.


  Compiling the Application Summary List: MATLAB Runtime Engine Application