How to write arduino attachInterrupt function in Matlab
2 次查看(过去 30 天)
显示 更早的评论
Hello I had to tried control dc motor with hall sensor using matlab and arduino.But I don't know how to write arduino attachInterrupt in Matlab. Help me please if you know. Because I'm trying to control the position of this dc motor.
2 个评论
Walter Roberson
2019-12-22
About all that is available is https://www.mathworks.com/help/supportpkg/arduino/ref/trigger-downstream-function-call-subsystem-using-arduino-external-interrupt-block.html which is probably not really what you are looking for.
Boitumelo Dikoko
2021-8-8
Tried this but unfortunetly not working as expected.
See the attached image

回答(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!