Have you ever wanted to call the engCallMATLAB function, only to realize that it isn't available? Well, now it is! This Fortran 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 Fortran code. Cleans up after itself. Included in the zip file are a working driver example program, a compile file for Intel 9.1 on win32, and a help file.
James Tursa (2022). engCallMATLAB (Fortran version) (https://www.mathworks.com/matlabcentral/fileexchange/17660-engcallmatlab-fortran-version), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!