Linking MATLAB and C++

7 次查看(过去 30 天)
Caroline
Caroline 2013-7-8
What's the difference between using the MATLAB engine and MEX Functions in order to link MATLAB and C++?
Thanks!

采纳的回答

Shashank Prasanna
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 个评论
Caroline
Caroline 2013-7-8
Is there an advantage to using one versus the other, or does it depend on the application?

请先登录,再进行评论。

更多回答(1 个)

Caroline
Caroline 2013-7-8
Thank you!

类别

Help CenterFile Exchange 中查找有关 Call C++ from MATLAB 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by