How can I debug mex files without a visual studio license?

2 views (last 30 days)
Daniel Poiesz
Daniel Poiesz on 17 Jul 2018
Edited: Daniel Poiesz on 20 Jul 2018
I already used up a trial license and need to learn how some mex c++ code is being executed. It doesn't seem worth it to pay for Visual Studio so I can debug MATLAB code. Are there instructions to use eclipse or another opensource method?
MATLAB version 9.4, 2018a
  2 Comments
Daniel Poiesz
Daniel Poiesz on 17 Jul 2018
Thanks for the advice. I'll look into mexPrintf, the whole mex concept is new to me.

Sign in to comment.

Accepted Answer

CP
CP on 17 Jul 2018
I use Microsoft Visual c++ 2010 Express to debug c++ files that get compiled into mex functions. I believe the license is free. You just have to go to the website and sign up for the key, and they will send it your email.
  1 Comment
Daniel Poiesz
Daniel Poiesz on 20 Jul 2018
Thank you, I should qualify for this license since I am only debugging open source code and not developing anything new.
For other readers the express line is now called Visual Studio Community.

Sign in to comment.

More Answers (0)

Products


Release

R2018a

Community Treasure Hunt

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

Start Hunting!