Setting up breakpoints, stepping through and debugging mex files with MS Visual C++ Studio

I am using Matlab R2014a. Based on: https://www.mathworks.com/content/dam/mathworks/mathworks-dot-com/support/sysreq/files/SystemRequirements-Release2014b_SupportedCompilers.pdf, it appears that I need either Microsoft Visual C++ 2013, 2012 or 2010 Professional as visual debugger. Can I use a regular Studio version as a compatible debugger/IDE and avoid the additional cost for the Professional version? Regards, Magda

Answers (1)

Hi Magda,
The link specifies using Microsoft Visual Studio Professional compilers in case you need to create mex files. Debugging mex files should be possible using the regular version. If you are open to upgrading MATLAB, you can create and debug mex files from MATLAB R2016b onwards using Microsoft Visual Studio 2017.
https://www.mathworks.com/content/dam/mathworks/mathworks-dot-com/support/sysreq/files/SystemRequirements-Release2016b_SupportedCompilers.pdf
Hope this helps,
Veda

Categories

Asked:

on 7 Nov 2017

Answered:

on 13 Nov 2017

Community Treasure Hunt

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

Start Hunting!