Azzera filtri
Azzera filtri

matlab runtime not starting

9 visualizzazioni (ultimi 30 giorni)
Mark Pereira
Mark Pereira il 18 Apr 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

Risposte (0)

Categorie

Scopri di più su C Shared Library Integration in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by