Warning: the UQLab installer detected that the MATLAB path could not be saved.
Please make sure that the MATLAB startup folder is set to a writable location in the MATLAB preferences:
Preferences->General->Initial Working Folder
As I quit MATLAB and start it again, it forgets UQLab and I need to install it every time I start MATLAB.
I can’t get write access to matlabroot. Is there any workaround?
Dear Shihab,
this is not a UQLab issue, it’s a common Matlab installation problem.
The solution is very simple: just put an empty “pathdef” file in the folder where you start Matlab from (e.g. ~Shihab/Matlab), and you will be able to save your path there.
Depending on the version of Matlab, there are different ways to specify its “startup folder”. Here’s an article on Mathworks: https://ch.mathworks.com/help/matlab/matlab_env/matlab-startup-folder.html