Co existance of different Matlab Versions on the same system
4 views (last 30 days)
Show older comments
I have Matlab 2013a and 2014a installed on the same system. Both the versions are working perfectly fine when used from Matlab workspace. Now, in my application, I need to open Matlab command window from a c++ program, using the engine API. The application was working correctly until I installed Matlab 2014a. After that, the Matlab command prompt disappears after the call of engOpen() function. This is because the function returns NULL. Also, I do not see any clash in the include and library files.
I would like to know whether different Matlab versions can reside in a single machine where engine API calls are used??
0 Comments
Answers (1)
ES
on 15 Sep 2014
Edited: ES
on 15 Sep 2014
In that case, when you have only one version of MATLAB it is enough to call
Dispatch("matlab.application")
but if you have multiple versions on the same machine, you have to include the major and minor version info.. For example,
Dispatch("matlab.application.7.13")
where 7.13 is corresponds to MATLAB R2010b
0 Comments
See Also
Categories
Find more on Call MATLAB from C in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!