Skip to Main Content Skip to Search
Product Documentation

Building Your Application on Mac or Linux

Compiling Your Application with the Deployment Tool

When running a graphical interface (such as XWindows) from your Mac or Linux desktop, use The Magic Square Example as an end-to-end template for building a standalone or shared library with the Deployment Tool (deploytool).

See Using the Deployment Tool from the Command Line for information on invoking deploytool from the command line.

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-Maci64 Platforms

Use the sectionInput and Output Files for lists of files produced and supplied to mcc when building a Standalone Executable, C Shared Library, or 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.

  


Recommended Products

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

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