MATLAB Runtime Server    

Organizing Files and Managing Startup Tasks

This example's own MATLAB files are in toolbox\runtime\examples\engineAPI during the entire development, compilation, and testing process. If you change any application file while exploring this example, use rehash toolboxreset to register the changes.

The C files for this example are in toolbox\runtime\examples\engineAPI.

The Startup Function

The matlabrt.m file that you moved from the directory toolbox\runtime\examples\engineAPI is similar to the one described in Developing a MATLAB Runtime GUI Application. See the GUI example section The Startup Function.

Creating the Path Definition Function

The example pathdefrt.m file that you moved into toolbox\local for this example uses paths relative to the MATLAB root directory. Each distinct directory that contains a function used in this application is included on the runtime path.

Notice that the list of directories in the example pathdefrt.m matches the list of (non-private, non-class) directories in the output of the depdir function.


  Adapting the Design for Runtime Execution Compiling the Application