Set MATLAB_ROOT environment variable

Hi!
I have tried Pkg.build(“MATLAB”) and I got the following error:

ERROR: Error building MATLAB:
ERROR: LoadError: MATLAB cannot be found. Set the “MATLAB_ROOT” environment variable to the MATLAB root directory and re-run Pkg.build(“MATLAB”).

I am using Linux (Ubuntu 20.04.3) and the matlab directory is: /usr/local/MATLAB
I don’t know how to set “MATLAB_ROOT” environment variable?