Build Your Application on Mac or Linux

Compiling Your Application with the Compiler Apps

When running a graphical interface from your Mac or Linux desktop, use Create Standalone Application from MATLAB as a template for building a standalone application with the Application Compiler. Use Compile C/C++ Shared Libraries with Library Compiler App for creating a shared library with the Library Compiler.

Compiling Your Application with the Command Line

For compiling your application at the command line, there are separate Macintosh and non-Macintosh instructions for Mac or Linux platforms.

On Non-Mac i64 Platforms

Use the section Input and Output Files for lists of files produced and supplied to mcc when building a C shared library, or a C++ shared library.

On Maci64

Use the section Input and Output Files for lists of files produced and supplied to mcc when building a Macintosh 64 (Maci64) application.

Was this topic helpful?