How do I prevent Matlab from throwing a system error when I stop the msvc debugger.

1 view (last 30 days)
Matlab 2014b
MSVC 2013
Debugging Mex files with MSVC:
If I hit the msvc "stop debugging" button (I have the Matlab process attached to MSVC), Matlab throws a system error and then it has to be shut down. Is there a way to stop the MSVC debugger without this happening?
Cheers
Eddie

Answers (1)

Udaya Mallampati
Udaya Mallampati on 31 Jul 2015
Hi Eddie,
The following questions help to better understand the issue that you are facing:
  • Does it happen for all the MEX files that you are debugging or is it just with one?
  • What is the exact error message that you are encountering in MATLAB when you hit stop debugging button in Microsoft Visual Studio?

Categories

Find more on Write C Functions Callable from MATLAB (MEX Files) in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!