Now I have managed to get it working. First of all, thank you for your help, it has been really important.
For the record, and for people with the same problem, I will update the configuration. It is the same as before, but I had the sensor configured for 30FPS and the CX3 was expecting 15FPS.
Now I would like to get it to work at higher FPS. My first guess is trying binning the image, do you have any recommendations?
Also, do you know if I can read RAW8 images with MATLAB?
I do not have any recommendations for the both of your requirements at the moment.
Please create a new thread for the newer queries instead of adding different queries in single forum thread as a good practice.