Rosinit error: Undefined function or variable 'rosinit'
2 ビュー (過去 30 日間)
古いコメントを表示
I am trying to initialize ROS on MATLAB R2015b on Windows 10 64-bit. I have the Robotics System Toolbox installed (as verified by 'ver'). When I enter the 'rosinit' command in the command line, I get this error:
Undefined function or variable 'rosinit'.
Sorry if this sounds stupid, but do I need to have ROS installed on my Windows in order to use this package? The official help page does not explain anything about this!
Thanks
5 件のコメント
Robin Narbey
2016 年 8 月 2 日
Hi, Yesterday withs matlab R2014a and R2015b i obtain the same error as you when I try to start "rosinit". This morning I install the R2016a and all work well :) You should try to update your version.
Have a good day,
回答 (1 件)
Josh Chen
2023 年 4 月 17 日
Hi Alireza,
This error indicates that MATLAB is not able to find the function 'rosinit'. Likely, some path got messed up. You can verify this by calling:
>> which rosinit
If it does not return a path to the rosinit.m file, that means this is a path issue.
Please let us know if you are still facing this issue with another version.
Thanks,
Josh
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Custom Message Support についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!