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

ctfrootLocation of files related to deployed application (CTF archive)
deployprintUse to print (as substitute for MATLAB print function) when working with deployed Windows applications
deploytoolOpen Deployment Tool, GUI for MATLAB Compiler
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
mcrinstallerDisplay version and location information for MCR installer corresponding to current platform
mcrversionDetermine version of installed MATLAB Compiler Runtime (MCR)

API Functions

<library>GetMcrIDReturn identifier of MCR instance associated with software component libname
<library>Initialize[WithHandlers] Initialize MCR instance associated with library
<library>Terminate Free all resources allocated by MCR instance associated with library
figToImStreamStream out figure "snapshot" as byte array encoded in format specified, creating signed byte array in .png format
getmcruserdataRetrieve MATLAB array value associated with given string key
mclGetLastErrorMessageRetrieves last error message from unsuccessful function call
mclGetLogFileNameRetrieve name of log file used by MCR
mclGetMCRUserDataRetrieve MATLAB data associated with string key of MCR instance uniquely identified by libnameGetMcrID
mclInitializeApplicationSet up application state shared by all (future) MCR instances created in current process
mclIsJVMEnabledDetermine if MCR was launched with instance of Java Virtual Machine (JVM)
mclIsMCRInitializedDetermine if MCR has been properly initialized
mclIsNoDisplaySetDetermine if -nodisplay mode is enabled
mclRunMainProvides mechanism for creating identical wrapper code across all compiler platform environments.
mclSetCmdLineUserData Associate MATLAB data value with string key of MCR instance uniquely identified by libnameGetMcrID
mclSetMCRUserDataAssociate MATLAB data value with string key of MCR instance uniquely identified by libnameGetMcrID
mclTerminateApplicationClose down all MCR-internal application state
mclWaitForFiguresToDieEnable deployed applications to process Handle Graphics events, enabling figure windows to remain displayed
setmcruserdataAssociate MATLAB data value with string key
  


Free MATLAB Compiler Interactive Kit

Learn how to build standalone executables and C/C++ shared libraries from MATLAB code.


Get free kit

Trials Available

Try the latest version of MATLAB Compiler.


Get trial software
 © 1984-2010- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS