


Here's what I did to make MATLAB work with XCode 6: MATLABCOMPILER is a directory of MATLAB programs which illustrate the use. You can set or change the configuration anytime, from either the MATLAB or the system command prompt. However, on a Mac the command mex -setup only gives you an option to keep your current compiler configuration or copy the default file to your home folder. To select a configuration, use the mex -setup command. From my previous experience, I know sometimes these are "soft" requirements and I managed to make MATLAB work with unsupported compilers (like different versions of Visual Studio on Windows, or different versions of GCC on Linux). As one data point to support Walter's experience, in the Cleve's Corner article about the origins of MATLAB Cleve posted code that ran in the original MATLAB version and runs in the most recent version of MATLAB with one change (adding the word 'format ' before 'long' or eliminating 'long' entirely.) Some of the answers are slightly different. I checked the system requirements at the Mathworks website and it states that R2013a and R2013b support XCode 4.3 or higher, and R2014a supports either 4.6+ or 5.0. If you would like to use the compiler Windows SDK 7. Since I also upgraded to XCode 6, I was not able to compile MEX files anymore. Inicie sesión cuenta de MathWorks Inicie sesión cuenta de MathWorks Access your MathWorks Account. Unfortunately, that was not the only issue. How can I compile a C file in Matlab R2013a. Turns out this was a problem with some Java classes used for drawing MATLAB's GUI and Mathworks released some patches for MATLAB versions from R2012b to R2014a (the bug was fixed in R2014b). First, I started getting a NullPointerException from Java when trying to start it.

Configuring MATLAB to work with XCode 6 on YosemiteĪfter I upgraded my Mac to Yosemite (10.10), I had a lot of trouble to get MATLAB 2013a working properly.
