Hi Jacinda,
I understand that you are encountering an error when trying to visualize your pcap files using the 'velodyneFileReader' function. The error message you're seeing suggests that there might be an issue with the pcap file, particularly with invalid files.
I recommend verifying the pcap file first, as the error would have occurred due to the invalidity of the input pcap file.
Additionally, you can refer to the MATLAB documentation for the 'velodyneFileReader' function and try running the examples provided there to ensure that the function works correctly with a valid pcap file provided in the example:-
I hope it helps.
Thanks and regards,
Sachin.