MATLAB Runtime Server | ![]() ![]() |
Testing While Emulating the Runtime Server
It is useful to test and debug an application while your development copy of MATLAB emulates the Runtime Server, before actually running the application with the Runtime Server. Follow these steps:
toolbox
directory, then restart MATLAB or type rehash toolboxreset
. Either action updates the internal file list.
devpath = path; save devpath devpath
runtime on
matlabrt
The example's GUI opens. Test the application by filling in the GUI fields and pressing the Calculate button.
close force
at the MATLAB command line. This closes the figure window without quitting MATLAB.
runtime off
load devpath path(devpath)
![]() | Compiling the Application | Testing with the Runtime Server Variant | ![]() |