フィルターのクリア

MATLAB to C++ code

1 回表示 (過去 30 日間)
Deepak Panda
Deepak Panda 2016 年 9 月 30 日
コメント済み: Denis Gurchenkov 2016 年 10 月 7 日
I have converted my MATLAB code for background subtraction to C++ code using MATLAB coder. The integration of C++ code with OpenCV library is done in Visual Studio 2015.
I am getting error "Exception thrown at 0x00007FF61EB25260 in myProject.exe: 0xC0000005: Access violation reading location 0xFFFFFFFFFFFFFFFF."
If there is a handler for this exception, the program may be safely continued.
  1 件のコメント
Denis Gurchenkov
Denis Gurchenkov 2016 年 10 月 7 日
Hi Deepak, can you please attach all the relevant files so someone can reproduce the problem? We'd need all the files that were produced in the "codegen" folder (easiest if you just zip the codegen folder). If you have created a Visual Studio project, please attach it to.
I see you attached processWGMM.txt (a C file) and main.txt (a C file) but no headers and no other files.
Or, you can debug the issue yourself by doing a debug build in Visual Studio, and running the application under debugger, then it'll stop at the line where the exception occurs, and you should be able to see where and why it happens.
hth,
Denis

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeCode Generation, GPU, and Third-Party Support についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by