Open dlgusrl217 opened 5 years ago
I solved it by helping from a handsome boy. My errors display on the command window: `Undefined function or variable 'rosbag_wrapper'.
Error in ros.Bag (line 30) obj.handle = rosbag_wrapper(uint64(0), 'construct', 'ROSBagWrapper', obj.path);
Error in ros.Bag.load (line 19) obj = ros.Bag(path);
Error in calibrate_bundle (line 72) bag = ros.Bag.load(calibration_file);`
The key is the file of "rosbag_wrapper". I download the matlab_rosbag release version from "" I find the file "rosbag_wrapper.mexa64", and I use the "rosbag_wrapper.mexa64" to exchange the "rosbag_wrapper.mex" which is now in the my used path on matlab. Then it is ok.
i use git clone https://github.com/bcharrow/matlab_rosbag.git also meet this problem , so i change to download the zip package https://github.com/bcharrow/matlab_rosbag/releases/tag/v0.5 V05 ,then add the directory to matlab path. then it can be solved.
I have downloaded the rosbag and have set the directory as MATLAB path. However, when I run the example code it gives the error as shown in the title. I also tried to move the files in the src folder to '~/Documents/MATLAB/' folder but I still see the same error. How can I tackle this issue?