Products & Services Solutions Academia Support User Community Company

Learn more about MATLAB Compiler   

Function Reference


Pragmas Directives to MATLAB Compiler
Command-Line ToolsDeployment-related commands
API FunctionsDeployment API-related commands

Pragmas

%#external
%#functionPragma to help MATLAB Compiler locate functions called through feval, eval, or Handle Graphics® callback

Command-Line Tools

builder2prjConvert project files with suffixes .cbl, .nbl, and .mxl to .prj (deploytool) format
ctfrootRoot folder of application in deployed mode
deployprintUse to print (as substitute for MATLAB print function) when working with deployed Windows applications
deploytoolOpen Deployment Tool, GUI for MATLAB Compiler
hardcopySaves figure window to file
isdeployedDetermine whether code is running in deployed or MATLAB mode
ismccTest if code is running during compilation process (using mcc)
mbuildCompile and link source files into standalone application or shared library
mccInvoke MATLAB Compiler
mcrinstallerDisplays version and location information for MCR installer(s) corresponding to current platform.
mcrversionDetermine version of installed MATLAB Compiler Runtime (MCR)

API Functions

<library>Initialize[WithHandlers] Initializes MCR instance associated with library
<library>Terminate Frees all resources allocated by MCR instance associated with library
GetMcrIDReturn identifier of MCR instance associated with software component libname
getmcruserdataRetrieve MATLAB array value associated with given string key
mclGetLogFileNameRetrieves name of log file used by the MCR
mclGetMCRUserDataRetrieve MATLAB data associated with string key of MCR instance uniquely identified by mcrID
mclInitializeApplicationSets up application state shared by all (future) MCR instances created in current process. Called only once per process.
mclIsJVMEnabledDetermines if MCR was launched with instance of a Java Virtual Machine (JVM)
mclIsMCRInitializedDetermines if MCR has been properly initialized
mclIsNoDisplaySetDetermines if -nodisplay mode is enabled.
mclKillAllFiguresFinds and deletes open figures
mclSetCmdLineUserData Associate MATLAB data value with string key of MCR instance uniquely identified by mcrID
mclSetMCRUserDataAssociate MATLAB data value with string key of MCR instance uniquely identified by mcrID
mclTerminateApplicationCloses down all MCR-internal application state. Called only once per process.
mclWaitForFiguresToDieEnables deployed applications to process Handle Graphics events, enabling figure windows to remain displayed.
setmcruserdataAssociate MATLAB data value with string key
  


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