matlab runtime not starting

9 次查看(过去 30 天)
Mark Pereira
Mark Pereira 2019-4-18
Hi Support Team,
Out application works fine when compiled with Microsoft Visual Studio 2008 and Matlab Version 2008b.
We are in the process of upgrading from Matlab Version 2008b to R2015b and the compiler from Visual Studio 2008 to Visual Studio 2015.
We have compiled the application and dlls successfully. However we are getting the following error.
const char *args[3];
args[0]="-nojvm";
args[1]="-logfile";
args[2]="c:\\logFile.txt";
if (!mclInitializeApplication (args, 3)) {
cerr << "Matlab: Could not initialize MCR ...\n";
} else {
Cerr << "Matlab: MCR initialization Success.\n";
}
Call to mclInitializeApplication is resulting in following error.
An Error has occurred while trying to initialize the MATLAB Runtime.
The error is: Fatal error loading library C:\Program Files (x86)\MATLAB\R2015b\bin\win32\mclbase.dll Error: The specified procedure could not be found.
Please guide us in resolving the above error.
Regards,
Mark

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 C Shared Library Integration 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by