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

2 次查看(过去 30 天)
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

类别

Help CenterFile Exchange 中查找有关 Write C Functions Callable from MATLAB (MEX Files) 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by