image thumbnail


version (6.59 KB) by James Tursa
engCallMATLAB is a c routine giving engine equivalent of mexCallMATLAB function


Updated 13 Nov 2007

translation missing:

Have you ever wanted to call the engCallMATLAB function, only to realize that it isn't available? Well, now it is! This c routine mimics the functionality of the mexCallMATLAB function, but for engine applications. Has the same argument list as mexCallMATLAB with the addition of the Engine pointer. The routine works by putting all input variables into the MATLAB engine workspace, calling engEvalString to evaluate the function in the MATLAB engine workspace, and then getting the result variables from the MATLAB engine workspace back into your c code. Cleans up after itself. Included in the zip file are a working driver example program, a compile file for lcc on win32, and a help file.

Cite As

James Tursa (2022). engCallMATLAB (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2006a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!