External Mode Open Protocol Init command failed

29 ビュー (過去 30 日間)
Ankit
Ankit 2023 年 9 月 20 日
回答済み: akshatsood 2023 年 10 月 13 日
External Mode Open Protocol Init command failed
Caused by:
In model 'uORB_example', the 'ExtMode' configuration parameter is set to 'off'. To connect to the target application, 'ExtMode' must be 'on'.
I have connected Pixhawk 4 , the board is connected to the PC(windows 11) , i am able to receive accelorometer data when setting up the hardware , i am facing issue with the External mode , please help me out .

回答 (1 件)

akshatsood
akshatsood 2023 年 10 月 13 日
Hi Ankit,
I understand that you are encountering an error while communicating with the Pixhawk 4 board which is as follows
In model 'uORB_example', the 'ExtMode' configuration parameter is set to 'off'.
To connect to the target application, 'ExtMode' must be 'on'.
The above message instructs you to enable the 'ExtMode' configuration parameter. To do this, follow these steps:
  1. Open the Model Properties by using the shortcut (Ctrl + E) or using the button in the Toolstrip.
  2. Navigate to the 'Interface' section under 'Code Generation' tab.
  3. Look out for the 'External mode' option and toggle it on.
Here is the snapshot for your reference
Have a look at the below reference for more information: https://in.mathworks.com/help/rtw/ref/externalmode.html
I hope this helps.

Community Treasure Hunt

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

Start Hunting!

Translated by