rror copying generated code into Pixhawk firmware directory. Delete the files in the folder C:\PX4\hom​e\Firmware​\src\modul​es\px4_sim​ulink_app manually and try building again.

rror copying generated code into Pixhawk firmware directory. Delete the files in the folder C:\PX4\home\Firmware\src\modules\px4_simulink_app manually and try building again.
how to rebuilding again

1 Comment

Did you try deleting the folder
C:\PX4\hom​e\Firmware​\src\modul​es\px4_sim​ulink_app?

Sign in to comment.

Answers (1)

As the error messages says, Delete the files in the folder C:\PX4\home\Firmware\src\modules\px4_simulink_app manually and try building again.

2 Comments

Hi Sir,
I met almost the same problem:
Error:Error copying generated code into Pixhawk firmware directory. Delete the files in the folder \\wsl.localhost\Ubuntu\home\xing\PX4-Autopilot\src\modules\px4_simulink_app manually and try building again.
I deleted the files in this folder. However, the problem still existed. How should I resolve it?
Some extra info:
  • MATLAB: 2024a
  • Pixhawk 4
  • PX4 v1.14.0

Sign in to comment.

Asked:

on 3 Jun 2022

Commented:

on 6 Jun 2024

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!