Linking MATLAB and C++

4 visualizaciones (últimos 30 días)
Caroline
Caroline el 8 de Jul. de 2013
What's the difference between using the MATLAB engine and MEX Functions in order to link MATLAB and C++?
Thanks!

Respuesta aceptada

Shashank Prasanna
Shashank Prasanna el 8 de Jul. de 2013
They work in different directions:
MEX is to call C++ code from the MATLAB environment.
MATLAB Engine is to call MATLAB functionality from the C++ code using the engine API.
  1 comentario
Caroline
Caroline el 8 de Jul. de 2013
Is there an advantage to using one versus the other, or does it depend on the application?

Iniciar sesión para comentar.

Más respuestas (1)

Caroline
Caroline el 8 de Jul. de 2013
Thank you!

Categorías

Más información sobre External Language Interfaces 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!

Translated by