how t run .cpp file in matlab..? I'm working on Mac and i have xcode 4.6 give me the solution

1 view (last 30 days)
i want to run try.cpp file on my matlab using xcode 4.6 compiler. help me with the steps

Accepted Answer

Walter Roberson
Walter Roberson on 24 Mar 2013
Which MATLAB version are you using? Which OS-X version? See and pay attention to the version restrictions there.

More Answers (1)

Wayne King
Wayne King on 24 Mar 2013
You're going to need to create a MEX file. Please see:
One thing you'll definitely need to do is to locate the compiler. To do this, run
>>mex -setup


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!