how can i solve this error ?

3 Comments

Error evaluating 'OpenFcn' callback of World Frame block (mask) 'Final_light_assembly_URDF/World'. Callback string is 'simmechanics.sli.internal.block_dialog(gcbh,'open');'
Unable to write file /home/saber/.matlab/R2018b/matlabprefs.mat: permission denied.
! chmod u+rw /home/saber/.matlab/R2018b/matlabprefs.mat

If it says permission denied for that then possibly you are not the owner of the file. You might need to delete the file if you can, or get an administrator to delete it.

I found the solution :
cd ~/.matlab
sudo chmod a+w -R R2018a/

Sign in to comment.

Answers (0)

Categories

Products

Release

R2018b

Asked:

on 25 Aug 2021

Commented:

on 25 Aug 2021

Community Treasure Hunt

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

Start Hunting!