Error creating folder when build model in linux

27 visualizaciones (últimos 30 días)
Doyoon KIM
Doyoon KIM el 17 de Oct. de 2021
Comentada: Dzmitry Maladzenkau el 12 de Jul. de 2023
I`ve got Error message
when build model in simulink
I`m using matlab in ubuntu 18.04
Error creating folder '/usr/local/MATLAB/projects/211008/slprj/ert/att_control/tmwinternal' : Permission denied

Respuestas (1)

Anshika Chourasia
Anshika Chourasia el 29 de Dic. de 2021
Hi,
This message means that the user account does not have permission to write to that location. You can check permissions by navigating to the preceding folder (/usr/local/ in this case) and running the command "ls -la" to check ownership and permissions.
Use chmod command to fix the permissions and allow your user account to write to the location.
sudo chmod u+rwx -R /path/to/directory
will give your user account read, write, and execute permissions, and will allow any other account to read or execute (run) files in the directory or subdirectories.
  1 comentario
Dzmitry Maladzenkau
Dzmitry Maladzenkau el 12 de Jul. de 2023
Sorry, i have this problem when i am trying to build a simulink model for ROS2 real-time implementation with Colcon. I gave all the permissions but the problem is still here. Maybe any suggestions?

Iniciar sesión para comentar.

Categorías

Más información sobre Introduction to Installation and Licensing en Help Center y File Exchange.

Productos


Versión

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by