Error running in Simulink external mode with Arduino
2 次查看(过去 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!