Error occurred in 'model_work_with_motor/Controller Node/Regulator Node'. Error using getOutportSampleTimeRatio Reported by system.SerialConfiguration: Incorrect number of out
Show older comments
I'm trying to use Simulink with arduino to control the position of a dc motor with an external pulse encoder over a network using truetime functions. the motor is connected to one arduino while the encoder to another problem is when im trying to use serial communication block i get the above error

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!