Co existance of different Matlab Versions on the same system
이전 댓글 표시
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??
답변 (1개)
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
카테고리
도움말 센터 및 File Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!