MATLAB Engine API dll

조회 수: 2 (최근 30일)
Gary
Gary 2016년 6월 2일
댓글: Gary 2016년 6월 2일
Does anybody have a 'standard or generic' C++ dll to invoke the MATLAB Engine API commands? I'm trying to call MATLAB from a Windows C# program. I'm sure I'm not the first or last person to want to do this. I have reviewed the engwindemo.c source code, but I don't understand the use of the output buffer to return the results to the calling program. Doesn't engGetVariable return the result into the specified variable?
I have MATLAB version 2015a 64bit. Any help would be greatly appreciated.
  댓글 수: 2
James Tursa
James Tursa 2016년 6월 2일
The output buffer is for retrieving screen output, whereas the engGetVariable gets actual variables.
Gary
Gary 2016년 6월 2일
Thank you James, that makes sense now.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Call MATLAB from C에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by