| Contents | Index |
| On this page… |
|---|
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.
For compiling your application at the command line, there are separate Macintosh and non-Macintosh instructions for Mac or Linux 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.
Use the section Input and Output Files for lists of files produced and supplied to mcc when building a Macintosh 64 (Maci64) application.
![]() | Writing Applications for Mac or Linux | Testing Your Application on Mac or Linux | ![]() |

Learn how to build standalone executables and C/C++ shared libraries from MATLAB code.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |