フィルターのクリア

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