How to read the odometry data of the simulation performed on jmavsim?

I am performing sitl using jmavsim through code generation via Simulink (I’m using the PX4 toolbox for UAV for Simulink). I’m building the simulink model and running sitl on jmavsim. After simulation I want to read the odometry data of the drone(e.g. position, velocities,accelerations,angula velocities, euler angles etc…). How can I do? I know thre are the ulg file that px4 creates and they can be read by the online flight analyser or pyulog and other tools. PX4 creates a lot of this log files, is there a way to merge them all together? How can I import this file in MATLAB?