Pluto SDR saving IQ data in Matlab and GNURadio


I am recording a dvb-s2 signal using pluto sdr and writing the data to a file sink ( complex format ) in gnu radio.

When I try to do the same in Matlab, the file written in Matlab does not work in the decoder whereas the one in gnu radio and gqrx works.

I used the following code  for complex data reading and writing but the file size in matlab is MB where as in gnu radio/gqrx same amount of data is in GB.

I want to save .bin data in Matlab using pluto in 32 bit complex numbers / float format .