- Open the Model Properties by using the shortcut (Ctrl + E) or using the button in the Toolstrip.
- Navigate to the 'Interface' section under 'Code Generation' tab.
- Look out for the 'External mode' option and toggle it on.
External Mode Open Protocol Init command failed
29 次查看(过去 30 天)
显示 更早的评论
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 .
0 个评论
回答(1 个)
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:
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.
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!