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 个)

类别

Help CenterFile Exchange 中查找有关 Arduino Hardware 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by