Error while using MATLAB engine and C++

1 回表示 (過去 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 Center および File ExchangeCall MATLAB from C についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by