2 versions of MCR installed, which one gets initialized by calling mclInitializeApplication
1 次查看(过去 30 天)
显示 更早的评论
I have two versions of MCR installed on my machine, 2015b and 2018b. I need both versions since two dlls (for different features) were made from each of the compilers.
- When I call mclInitializeApplication() function from my application which version of MCR gets initialized?
- Is there a way to initialze both (2015b and 2018b)?
- If not then will both the dlls work only if one verson of MCR is initailzed?
0 个评论
采纳的回答
Jasmine Dai
2019-4-17
Hi, Sathya,
Unfortunately there is no way to initialize both MCR. And it will not work if only one version of MCR is initialized. Namely dll file does not work with a mismatched version of MCR.
As the version of MCR that gets initialized depends on the link path when compiling the application, what you can do is:
1. Recompile the two dlls so that they are from the same version of MCR.
Or
2. Generate two applications with each dll, although this might not be what you want to achieve.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 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!