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

10 views (last 30 days)
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.

Accepted Answer

Matt Boyd
Matt Boyd on 31 May 2023
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

More Answers (0)

Categories

Find more on Network Connection and Exploration in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!