MATLAB Answers


PixhawkPSP used in matlab R2017b in linux

Asked by panda
on 25 Oct 2018
Latest activity Answered by Abhishek GS on 2 Apr 2019
Hi,everyone,I have installed Pixhawk Support in matlab20217b in linux, when I click the Dowloand Firmware,it begin git clone Px4Firmware from github, but some modules couldn't not found, the modules include "NxWidgets", "misc/tools", and "nuttx".
the question as follows:
.... Username for '': xiongmaoshisb
Password for '':
remote: Repository not found.
fatal: repository '' not found ..
when I download Firmware in bash on windows in windows10,it also has this problem,can sommeone help me? Thank you very much!

  1 Comment

Tank you T.A.C.J.M. Albers,I will accept you response.

Sign in to comment.

2 Answers

Answer by T.A.C.J.M. Albers on 30 Oct 2018
 Accepted Answer

Hi Panda,
My installation also resulted in an error in Matlab R2017b. The clone in the GUI resulted in the same error as yours. However, I tried manually cloning the repository as is discussed in the manual:
Afterwards, you need to make sure the Simulink module is present in the Firmware folder and is included in the make file. That should solve your problem.


Hello T.A.C.J.M.
You said that "Afterwards, you need to make sure the Simulink module is present in the Firmware folder and is included in the make file. "
In my Firmware folder I don't have that Simulink module. What can I do? Thanks
Hi Nicola,
I'm sorry for the late response, I'm quite bussy lately. However, I'm still encounting issues with the PSP. The progress I have made so far is described here:
My contribution is mainly related to my university, so their might be some additional steps in order to make it work, and others are unnesesary. However, it describes the missing module you are talking about, so take a look and perhaps it might help you solve your issue.
Lastly, I'm still updating every now and then, so solutions might be updated. But as of sofar, take a look at it and I'm sure it might help you.
Best, Tom

Sign in to comment.

Answer by Abhishek GS on 2 Apr 2019

The official support package 'Embedded Coder Support Package for PX4 Autopilots' is now available from R2018b onwards.
Here is the documentation on getting started with the official support package.


Sign in to comment.