Error while using MATLAB engine and C++

조회 수: 2 (최근 30일)
Caroline
Caroline 2013년 8월 22일
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!

채택된 답변

Madhura Suresh
Madhura Suresh 2013년 8월 26일
This error occurs because you use engopen() and engclose() multiple times.
  댓글 수: 1
Caroline
Caroline 2013년 8월 28일
Thanks for answering! Why is that a problem?

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Call MATLAB from C에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by