MATLAB: How to use Visual Studio Code for debugging MATLAB MEX-files or Simulink S-Functions compiled with MingW64 on Windows or GCC/G++ on Linux

MATLABsimulink

Can I use Visual Studio Code to debug my MinGW64 MEX-files? And can I use it on Linux to debug my GCC MEX-files?

Best Answer

Yes, you can use Visual Studio Code for debugging MinGW64 and GCC MEX-files, the following blog post on our website goes into further detail on this:
Related Question