Error while using MATLAB engine and C++

1 Ansicht (letzte 30 Tage)
Caroline
Caroline am 22 Aug. 2013
I am using the MATLAB engine in my C++ code and creating an executable with the C++ code. However when I run the executable I am getting this error every once in a while:
A primary message table for module 77 was already registered with a different collection of error messages.Severe: The program 'C:\restOfExecutablePath: Native' has exited with code 1 (0x1).
Does anyone know why this might be happening?
Thanks!

Akzeptierte Antwort

Madhura Suresh
Madhura Suresh am 26 Aug. 2013
This error occurs because you use engopen() and engclose() multiple times.
  1 Kommentar
Caroline
Caroline am 28 Aug. 2013
Thanks for answering! Why is that a problem?

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Call MATLAB from C finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by