When using rosbag() to open a file, get error: Unable to resolve the name 'robotics.​internal.v​alidation.​findFilePa​th'

8 ビュー (過去 30 日間)
I am running Matlab R2023a on Ubuntu 20.04 with the ROS Toolbox and Robotics System Toolbox installed. I have added the path to the toolboxes, including all of their subfolders, to the "Set Path" dialog. My command is very simple:
bag = rosbag("/home/user/bagfile.bag")
I get only the error:
Unable to resolve the name 'robotics.internal.validation.findFilePath'.
The file path listed in the error does not exist in the Toolbox folder on disk. Should it? I am not sure how to begin resolving the error.

採用された回答

Matt Boyd
Matt Boyd 2023 年 5 月 31 日
For anyone else who has this issue, it turns out you need to include the path to the Toolbox "shared" folder, and subfolders, in the "Set Path" dialog.
For me that was:
/usr/local/MATLAB/R2023a/toolbox/shared

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeNetwork Connection and Exploration についてさらに検索

製品


リリース

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by