Hi Haris,
I recommend using the timescope object to plot the data. In MATLAB, it is recommended to use a loop to read in the data, the example Estimating Orientation Using Inertial Sensor Fusion and MPU-9250 shows how to read IMU data.
Thanks,
Ryan