Can I use the MEX function and compiler with a student license?

5 views (last 30 days)
I want to buy a student license for the matlab R2021b and I would like to know if this license includes the compiler and the mex function.
Thanks!

Answers (1)

Walter Roberson
Walter Roberson on 24 Oct 2021
mex() is part of basic MATLAB. It relies upon third-party compilers to generate binary code from C or C++ (or fortran) code that has already been specifically coded according to the MATLAB interface API.
MATLAB Compiler is not available for student licenses at all. If it were available, it could be used to create data structures from MATLAB code, and bundle them together along with the MATLAB interpreter. MATLAB Compiler does not generate code.
MATLAB Coder is not available for student licenses at all. If it were available, it could be use to generate C or C++ code from a subset of MATLAB code, including potentially generating mex-compatible C or C++ code.
Note: MATLAB Compiler and MATLAB Coder are also not available for MATLAB Home licenses.

Categories

Find more on Manage Products in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!