simulink arduino package mega 2560

2 views (last 30 days)
yousif saffa
yousif saffa on 24 May 2022
"Cannot find Arduino IO Setup Block for 'Temporary arduino variable: Arduino1' at top level of model"
I want to read the encoder pulses accurately in simulink without the arduino interrupt function which i dont know if ever exist in the simulink model
so i was trying the arduino support package encoder read and now im getting the error cannot find arduino
note that "attachInterrupt(digitalPinToInterrupt(ENCA),readEncoder,RISING);" is the only command so far that was able to match the speed of the encoder on arduino

Answers (0)

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!