How to write arduino attachInterrupt function in Matlab
2 views (last 30 days)
Show older comments
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 Comments
Walter Roberson
on 22 Dec 2019
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
on 8 Aug 2021
Tried this but unfortunetly not working as expected.
See the attached image

Answers (0)
See Also
Categories
Find more on Arduino Hardware in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!