
Nicholas S. answered 05/10/21
Calculus, Statistics, Math and Science Tutor with PHD in Engineering
You need a C/C++ compiler. Here is a list of MATLAB compatible compilers:
https://www.mathworks.com/support/requirements/supported-compilers.html
As an example, you can download MS Visual Studio for free:
https://visualstudio.microsoft.com/free-developer-offers/
After installation, open MATLAB and run: mex -setup
Select the compiler that you want (assume there is only one after you install one).
Should be all set.