matlab runtime not starting

3 visualizaciones (últimos 30 días)
Mark Pereira
Mark Pereira el 18 de Abr. de 2019
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

Respuestas (0)

Categorías

Más información sobre C Shared Library Integration en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by