Products & Services Solutions Academia Support User Community Company

Learn more about MATLAB Compiler   

mclInitializeApplication - Sets up application state shared by all (future) MCR instances created in current process. Called only once per process.

Synopsis

bool 
  mclInitializeApplication(const char **options, int count)

Description

MATLAB Compiler-generated standalone executables contain auto-generated code to call this function; users of shared libraries must call this function manually. The function takes an array of strings (possibly of zero length) and a count containing the size of the string array. The string array may contain the following MATLAB command line switches, which have the same meaning as they do when used in MATLAB. :

Example

To start all MCRs in a given process with the -nodisplay option, for example, use the following code:

 char *args[] = { "-nodisplay" }; 
    bool success = mclInitializeApplication(args, 1); 

See Also

Initializing and Terminating Your Application with mclInitializeApplication and mclTerminateApplication

mclTerminateApplication

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS