how t run .cpp file in matlab..? I'm working on Mac and i have xcode 4.6 give me the solution
5 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
i want to run try.cpp file on my matlab using xcode 4.6 compiler. help me with the steps
0 comentarios
Respuesta aceptada
Walter Roberson
el 24 de Mzo. de 2013
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.
0 comentarios
Más respuestas (1)
Wayne King
el 24 de Mzo. de 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
0 comentarios
Ver también
Categorías
Más información sobre Write C Functions Callable from MATLAB (MEX Files) en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!