I fixed this by setting MATLAB_USE_USERWORK=1 in ~/.bashrc, in this way the pathdef.m in my local MATLAB working folder will be loaded during Matlab startup.
ROS Custom Message Support not found after Matlab restart
2 ビュー (過去 30 日間)
古いコメントを表示
I installed ROS Custom Message Support following instructions here: http://www.mathworks.com/help/robotics/ug/ros-custom-message-support.html
But after I restart Matlab, rosgenmsg is not recognized as a function. How to fix this? Thanks!
Zhen
4 件のコメント
Walter Roberson
2016 年 3 月 23 日
Fady,
fid = fopen('~/.bashrc', 'a');
fprintf(fid, 'MATLAB_USE_USERWORK=1\n');
fclose(fid)
Shantnu Kakkar
2017 年 11 月 24 日
I did this. After opening my ~./bashrc, I can see MATLAB_USE_USERWORK=1 at the very bottom. But still matlab is not recognising "rosgenmsg" as a function.
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Network Connection and Exploration についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!