How to get Simulink to read data from serial port in real time.
5 views (last 30 days)
Show older comments
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 Comments
Answers (0)
See Also
Categories
Find more on Block Libraries 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!