matlab runtime not starting

3 vues (au cours des 30 derniers jours)
Mark Pereira
Mark Pereira le 18 Avr 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

Réponses (0)

Catégories

En savoir plus sur C Shared Library Integration dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by