How to get Simulink to read data from serial port in real time.
5 次查看(过去 30 天)
显示 更早的评论
Currently my Simulink program reads data from a .mat file. I need to change it so it can read data from the serial port or matlab workspace as it comes in real time and output processed data in real time as well. One option is to purchase the real time toolbox. Another is to use the encoder to write C code and use that.
Anybody ever done anything like this? Which would work better?
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Block Libraries 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!