Clear Filters
Clear Filters

Could not determine the path of the MATLAB root directory

19 views (last 30 days)
[user@cn ~]$ /usr/local/R2022a/toolbox/parallel/bin/checkLicensing
glibc_shim: Didn't find correct code to patch
Internal error 1: We could not determine the path of the
MATLAB root directory.
original command path = /usr/local/R2022a/bin/matlab
current command path = /usr/local/R2022a/bin/matlab
Please contact:
MathWorks Technical Support
for further assistance.
The MATLAB Parallel Server worker licensing check has failed. Check /home/user/parallelLicense.log for details.
NOTE: I checked the user directory permisions. Still the above command not creating the parallelLicense.log file

Answers (1)

Kshittiz Bhardwaj
Kshittiz Bhardwaj on 1 Jul 2022
Hello Hemanta,
I understand you are not able to find out the path to your MATLAB root directory.
To get the path to your MATLAB root directory you can use the following command:
>> matlabroot
It will return the path of our MATLAB root directory.
Raymond Norris
Raymond Norris on 1 Jul 2022
It's not that Hemanta can't find the MATLAB path, it's that the utility script checkLicensing can't find the MATLAB path.

Sign in to comment.


Find more on Startup and Shutdown 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!