MATLAB: Unable to locate build tool “GNU PX4 Archiver”: echo

MATLABMATLAB and Simulink Student Suitepx4 gnu px4 archiver pixhawk

Hi, I recently updated to r2109a with the new PX4 support. I did everything accordoing to the instruction and built a firmare and got some accelerometer measurements.
When I try to build in a demo model for example px4demo_uORBRead, i get this error:
Error(s) encountered while building "uorb_demo":
### Failed to generate all binary outputs.
Caused by:
Validation error(s):
### Validating other build tools ...
Unable to locate build tool "GNU PX4 Archiver": echo .
I tried both cygwin and built in cmake, they dont work. any ideas?
Thanks.

Best Answer

Had the same problem.
Try to copy the file "bash.exe" from C:\Windows\system32 to C:\Windows\SysWOW64
There is a issue of 32bit vs. 64 bit programs.
See link below for more details:
Related Question