MATLAB Engine API dll

2 Ansichten (letzte 30 Tage)
Gary
Gary am 2 Jun. 2016
Kommentiert: Gary am 2 Jun. 2016
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 Kommentare
James Tursa
James Tursa am 2 Jun. 2016
The output buffer is for retrieving screen output, whereas the engGetVariable gets actual variables.
Gary
Gary am 2 Jun. 2016
Thank you James, that makes sense now.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Call MATLAB from C finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by