Unable to save path to file in Ubuntu Matlab 2016b.

20 views (last 30 days)
Warning: Unable to save path to file '/usr/local/MATLAB/R2016b/toolbox/local/pathdef.m'. You can save your path to a different location by calling SAVEPATH with an input argument that specifies the full path. For MATLAB to use that path in future session, save the path to 'pathdef.m' in your MATLAB startup folder.

Answers (1)

Jan
Jan on 19 Mar 2019
The warning looks clear. You need admin privileges to get write permissions for toolbox/local/pathdef.m, but you can store the filein your Matlab startup folder also - as the message has told you already. So either run Matlab as an admin, or follow the advice of saving the file in anotehr location.

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Tags

Products


Release

R2016b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!