External Mode Open Protocol CheckData command failed
조회 수: 18 (최근 30일)
이전 댓글 표시
Hello guys. I encountered some problem with my simulink model. When I tried to run the model by clicking on the monitor and tune, simulink managed to build up the model and I was able to control the servo. However, after a few seconds, the model stopped and these error occured. Any ideas or solution?
I use arduino due and l298p motor shield driver for which i stacked it directly on the arduino due board.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1397024/image.png)
댓글 수: 2
Sarthak Arvind
2023년 7월 13일
@Yusuf Ikmal Were you able to able to solve the issue? I am also getting the same error but with Arduino Nano. however in my case a smaller section of the model works at 0.0051 but not at 0.005 fixed step size. It also works at 0.05 sec step size. but when the model becomes larger it doesn't work at any step size.
let me know if you find out something.
Cristian Napole
2024년 11월 13일
Had the same issue as Sarthak with the step size. Was anyone capable of solving this?
답변 (1개)
Saarthak Gupta
2023년 9월 1일
Hi Yusuf,
As per my understanding, you are facing a Hardware Board connection issue. The Monitor & Tune functionality spuriously stops working on the hardware and it is unable to communicate with Simulink. The error message "External Mode Open Protocol CheckData command failed" is related to the connection between the board and the computer. Here are some possible solutions to fix the issue:
- Refresh the COM Port and set preference once again to the correct COM port in the Configuration Parameters
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1470741/image.png)
- Manually change the COM port number from the Windows Device Manager
- Check which COM ports are in use on Windows OS, including hidden COM ports.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1470746/image.png)
- Check the COM Port used to communicate with the board. If an Auxiliary port (COM3) is being used, try connecting to a UART port (COM4) and try 'Monitor & Tune' again.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Modeling에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!