How to compile my C files in MAC? I need a help
Show older comments
I have c files. But I have to use it in MATLAB under MAC operating system.
The MATLAB does not have the routine so I wrote up the c files, but can't compile them.
Thanks
1 Comment
Walter Roberson
on 14 Aug 2017
Which os-x release? Which MATLAB release? Which version of xcode do you have installed?
Answers (1)
Jan
on 14 Aug 2017
You need to install XCode on the computer. Then run
mex -setup
What do you see? The version of XCode must match the requirements of your Matlab version. You can find a list of compatible versions in Matlab's documentation.
Categories
Find more on MATLAB Compiler in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!