How to supress unhandled exception and access violation error messages in Visual Studio debugging mode
Show older comments
When trying to debug(keyboard shortcut: F5) the dll which was generated from MATLAB Compiler SDK in visual studio by using single step debug, mclInitializeApplication(NULL,0) function run very slowly, and debug outputs lots of exception messages like below.
Exception thrown at 0x00007FFE9DCA9319 in matrix_exp_svr.exe: Microsoft C++ exception: mwboost::exception_detail::clone_impl<fl::filesystem::PathNotFound> at memory location 0x00000041850F9CA0.
Without using debug(keyboard shortcut: Ctrl-F5) like the following link's guidance, it works properly with the dll which was generated from MATLAB Compiler SDK. https://www.mathworks.com/matlabcentral/answers/748522-how-do-i-integrate-my-matlab-compiler-sdk-c-or-c-shared-library-in-visual-studio-2017
Accepted Answer
More Answers (0)
Categories
Find more on C Shared Library Integration in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!