필터 지우기
필터 지우기

Bash is not accessiable thro matlab in windows 10

조회 수: 1 (최근 30일)
Dinesh
Dinesh 2018년 8월 7일
답변: Tejas Rajopadhye 2019년 3월 1일
I recently installed PX4 Support from Embedded Coder latest version in Matlab 2017b. Matlab could create embedded code from simulink. while compiling using cmake, matlab opens command prompt with a bash command. I am getting error massage saying that the bash is not an valid command. But i installed bash in win 10 and if i open a command prompt and type bash, it works. Kindly help me to resolve this error. Activity in the Section 4.3.3 in the document Pixhawk Pilot Support Package (PSP) User Guide Version 3.04 Thanks in advance
  댓글 수: 1
Alexandr Gorbunov
Alexandr Gorbunov 2018년 12월 14일
I've got similar problem. Please, help us to solve this trouble!! :)

댓글을 달려면 로그인하십시오.

답변 (1개)

Tejas Rajopadhye
Tejas Rajopadhye 2019년 3월 1일
After complete building of firmware (Using the UI provided by matlab) ,
PixhawkUI.PNG
Again open matlab and type : - PixhawkPSP(' <your px4 folder>')
For me it was - PixhawkPSP('C:\PX4')
Then the UI opens up
In 'windows 10 bash' text field instead of 'C:\Windows\System32\bash.exe' type in 'C:\Windows\Sysnative\bash.exe'
and then 'save settings and Exit'
This should solve the problem for you.
Note - the image I uploaded is after makin the changes i.e. after adding Sysnative
Thanks

태그

제품


릴리스

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by