SIMULINK ROS Permission denied

21 次查看(过去 30 天)
Caused by: Permission denied
  3 个评论
Mahshad Kadkhodazade
I'm having the same error. I attached my model.
p.s.: first time, I initialized roscore on ubuntu, then on matlab. I got this error.
second time, I restarted my computer and this time initialized ros on matlab. Still the same error.
Mahshad Kadkhodazade
I solved it by going to matlab script and changing the folder directory to the folder where the python code of my publisher node exists. I got this idea from below link:
https://forums.ni.com/t5/LabVIEW/permission-denied-error-when-using-Matlab-script/td-p/3209865
p.s.: I got this error in Simulink of a ROS publisher block. I had defined a publisher node in ROS before running this simulink block.

请先登录,再进行评论。

回答(1 个)

Jagadeesh Konakalla
Based on the error message, you are running the model where you do not have write permissions. Please run the simulink model where you have write permissions.
Thanks,
Jagadeesh K

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

产品


版本

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by