Error occurred in 'model_work_with_motor/Controller Node/Regulator Node'. Error using getOutportSampleTimeRatio Reported by system.SerialConfiguration: Incorrect number of out
1 次查看(过去 30 天)
显示 更早的评论
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
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1096515/image.jpeg)
0 个评论
回答(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!