This paper presents a systematic model-based testing approach focused on safety-critical systems in aeronautics, emphasizing coverage analysis and the importance of rigorous testing methods to prevent failures in flight controls. It proposes a workflow involving simulation in MATLAB/Simulink and processor-in-loop (PIL) testing, ensuring that the developed models and generated code accurately reflect the required functionalities. Additionally, the paper discusses the significance of coverage analysis in validating software design correctness and highlights the use of real-time data exchange technology for efficient testing.