Info

This question is closed. Reopen it to edit or answer.

How to C compiler configure for use in MATLAB

1 view (last 30 days)
Venkat Nakka
Venkat Nakka on 17 Feb 2020
Closed: MATLAB Answer Bot on 20 Aug 2021
for my labs can u tell me how to c compiler configure in MATLAB R2014b
  1 Comment
Walter Roberson
Walter Roberson on 17 Feb 2020
You can find the list of supported compilers in the link below. Which one to use depends partly on whether you are using 64 or 32 bit, and also depends which operating system you use.
If you are using Windows 10 then even though sdk 7.1 should work in theory, in practice it can be difficult to install in W 10.
The supported Visual Studio version are unfortunately all Professional, with no Community or Express versions supported in your release. Sdk 7.1 is free but a bit tough to install after Windows 7. lcc-32 is free but only works for 32 bit.
Note that if you install Visual Studio you might need to specifically ask it to install C as it defaults to C++
Once you have installed a supported compiler, go into matlab and command
mex -setup
and follow the prompts.

Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!