MATLAB Answers

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

4 ビュー (過去 30 日間)
Jette
Jette 2017 年 4 月 25 日
回答済み: Nikhil Sreekumar 2017 年 4 月 28 日
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.

回答 (1 件)

Nikhil Sreekumar
Nikhil Sreekumar 2017 年 4 月 28 日
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.
Thanks
Nikhil

Community Treasure Hunt

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

Start Hunting!

Translated by