Enter the full path to the MATLAB root folder, which is returned by the matlabroot function.
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.