Enter the full path to the MATLAB root folder, which is returned by the matlabroot function. The specified directory will be prepended to the PATH environment variable, and the specified MATLAB version will be used to perform the build. You must not leave this field blank if no MATLAB directory exists on the path. If you leave the field blank, then the system tries to use the MATLAB directory closest to the top of the system path.


Example:

Windows:
C:\Program Files\MATLAB\R2019a
Linux:
/usr/local/MATLAB/R2019a
Mac:
/Applications/MATLAB_R2019a.app

Note: If the job runs on a remote agent, you must specify the full path to MATLAB root folder on the remote agent.