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