Error running in Simulink external mode with Arduino
조회 수: 4 (최근 30일)
이전 댓글 표시
I have been using an S-function I created in Simulink to communicate with multiple compass sensor modules for the past couple of months with no issue, but for whatever reason it stopped working this week and I started getting the error:
Error occurred while executing External Mode MEX-file 'ext_comm':
ExtSetTargetPkt() call failed on CLOSE.
Ensure target is still running
I am only getting this error when I run this particular s-function in external mode. The board works with other models including other s-functions I made with a very similar format) and this particular model is able to be deployed to hardware as well. Any idea why it stopped working?
댓글 수: 0
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Arduino Hardware에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!