matlab2020b update1/rosbag error

When i use 'rosbag' command, shows error, but the same command can run in matlab 2019a

Answers (4)

Abhisek Pradhan
Abhisek Pradhan on 8 Dec 2020
Tried using rosbag in R2020b and its working fine. There may be some issue in the file or arguments you are passing into it. Check here for documentation.
Or if you can share some more details we can have a deeper look at it.

1 Comment

I have the same problem, see the following file...
I just call ' bag = rosbag(filename); ' and an error occurrs: "An error occurred when reading from the file."
I also tested bag files downloaded from internet and the problem is the same.

Sign in to comment.

I have the same problem after Matlbab update.
I attached the file that works for me with R2020a but not with R2020b.
Thanks in advance for your time
I have the same problem after Matlbab update.
I found a solution to the problem, it's very simple, file path of your bag cannot have Chinese character.

Categories

Tags

Asked:

on 3 Dec 2020

Answered:

on 21 Mar 2021

Community Treasure Hunt

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

Start Hunting!