Error creating folder when build model in linux

조회 수: 26 (최근 30일)
Doyoon KIM
Doyoon KIM 2021년 10월 17일
댓글: Dzmitry Maladzenkau 2023년 7월 12일
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

답변 (1개)

Anshika Chourasia
Anshika Chourasia 2021년 12월 29일
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
Dzmitry Maladzenkau
Dzmitry Maladzenkau 2023년 7월 12일
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?

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

제품


릴리스

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by