Linking MATLAB and C++

조회 수: 6 (최근 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
Shashank Prasanna 2013년 7월 8일
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