How to compile my C files in MAC? I need a help

I have c files. But I have to use it in MATLAB under MAC operating system.
Somebody help me out. I can forward the c-files through e-mail. kimxx152@gmail.com
The MATLAB does not have the routine so I wrote up the c files, but can't compile them.
Thanks

1 Comment

Which os-x release? Which MATLAB release? Which version of xcode do you have installed?

Sign in to comment.

Answers (1)

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

Asked:

on 14 Aug 2017

Answered:

Jan
on 14 Aug 2017

Community Treasure Hunt

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

Start Hunting!