MATLAB Runtime Server    
makeconfig

Generate a configuration file for packaging an application

Syntax

Description

makeconfig(list) creates the configuration file user.config_pc on a PC or user.files on a UNIX machine. This file is used by the packaging utility. list is single column, cell array where each cell contains a string with the complete filename to be included in the runtime application. Each filename must begin with the equivalent of your matlabroot directory, similar to the output of depfun. Any duplicate filenames are ignored.

makeconfig(list,filename) writes the configuration file to the specified filename.

makeconfig(list,filename,list2) writes the configuration files to the specified filename and appends list2 to list. list2 contains any additional files that you want to ship that are not included in list, such as an optional splash screen bitmap.

Example

Generate a configuration file.

  1. Create the matlabroot pathname and change to that directory.
  2. Use buildp to create the application and capture the dependencies in depfunout
  3. Create list2 which contains paths to matlabrt.p and pathdefrt.p files.
  4. Run makeconfig.

The code to execute these steps is

See Also

depfun


  isruntime pcode