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

3 次查看(过去 30 天)
i want to run try.cpp file on my matlab using xcode 4.6 compiler. help me with the steps

采纳的回答

Walter Roberson
Walter Roberson 2013-3-24
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.

更多回答(1 个)

Wayne King
Wayne King 2013-3-24
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

类别

Help CenterFile Exchange 中查找有关 Write C Functions Callable from MATLAB (MEX Files) 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by