How to fix "Error occurred while executing External Mode MEX-file 'ext_comm': ExtTargetPktPending() call failed while checking for target pkt" ?
1 次查看(过去 30 天)
显示 更早的评论
Hi, I have a very simple simulink model. I want to read the signal at some analog and digital inputs and show them in a display and scope. I also put some PWM signals to two digital output pins. Additionally, I include a c-function to my model with a matlab function. So far, everything is working but if I want to reduce the step size in the model configurations from 0.001 to 0.0001 I get the following errors:
Error occurred while executing External Mode MEX-file 'ext_comm': ExtTargetPktPending() call failed while checking for target pkt
Error occurred while executing External Mode MEX-file 'ext_comm': ExtSetTargetPkt() call failed on CLOSE. Ensure target is still running
I am using a ARDUINO UNO Board and the build process can be completed successfully.
Does anybody know how to fix this errors?
Thanks for your answers!
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!