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

답변 (1개)

Veda Upadhye
Veda Upadhye 2017년 11월 13일
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

카테고리

도움말 센터File Exchange에서 Write C Functions Callable from MATLAB (MEX Files)에 대해 자세히 알아보기

태그

질문:

2017년 11월 7일

답변:

2017년 11월 13일

Community Treasure Hunt

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

Start Hunting!

Translated by