How to write arduino attachInterrupt function in Matlab

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 commentaires

Tried this but unfortunetly not working as expected.
See the attached image

Connectez-vous pour commenter.

Réponses (0)

Catégories

Produits

Version

R2015a

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by