When does mcc/Application Compiler need a C-compiler?

7 views (last 30 days)
We want to create a standalone application from a GUI created with MATLAB R2015b 64bit. I was told that I need to install a C-compiler and call 'mex -setup' to configure MATLAB using this compiler. However, I could compile a simple test GUI with mcc as well as with the Application Compiler without installation of a C-compiler and running 'mex -setup'.
Can anybody tell me, when the additional C-compiler must be installed? I'd like to know it to avoid problems in the future.

Answers (1)

Nikhil Sreekumar
Nikhil Sreekumar on 28 Apr 2017
Hi Jette,
To compile a standalone application, a third party compiler is not required. However, to create C/C++ Shared libraries, Java classes or .Net assemblies, a third party compiler is required.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!