Error while using webots matlab controller
7 ビュー (過去 30 日間)
古いコメントを表示
hello!
im trying to conduct a robot controlller using webots simulater , but i get this error while using matlab
what should i do?
9 件のコメント
Michael Currie
2020 年 5 月 19 日
Hi Mohammad Adeeb,
It seems that Cyberbotics have made new directories in the R2020a version which have not been updated in their header file and matlab launcher file. I fixed this issue on my machine (Windows) by doing the following:
In the launcher.m file (..\Webots\lib\controller\matlab):
- Change each line containing 'lib/matlab' to 'lib/controller/matlab'
- It's lines 15, 23 and 132
In allincludes.h (..\Webots\lib\controller\matlab):
- Change each include path so that it goes back a further directory
- eg: #include "../../../include/controller/c/webots/accelerometer.h"
Should work after that. I'm still receiving errors regarding a remote control library, but I haven't looked into that yet.
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Startup and Shutdown についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!