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

 Akzeptierte Antwort

Which MATLAB version are you using? Which OS-X version? See http://www.mathworks.com/support/solutions/en/data/1-FR6LXJ/ and pay attention to the version restrictions there.

Weitere Antworten (1)

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

Kategorien

Mehr zu MATLAB Compiler finden Sie in Hilfe-Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by