PX4 error Accel #0 fail: TIMEOUT!


I am trying to make a sitl simulation, using the “px4demo_PositionController_quadrotor” model of Matlab/Simulink, as the main controller and the px4 firmware as model, following the Matlab guide: Position Tracking for X-Configuration Quadcopter - MATLAB & Simulink Example - MathWorks Italia.

All work and QGC also is connected but after some seconds QGC give the Accel #0 fail: TIMEOUT! error and also the gyro error. I am using the JMavSimulator, the Matlab 2021b version, the python 3.8 version, Windows 10 os, and the latest versions of PX4 firmware and QGC.