Real time control based on communication with database

3 次查看(过去 30 天)
I need an advice. What is the most efficient way to implement real-time control algorithm which need to perform following three steps every 5 minutes:
1. Read measurements from data base,
2. Based on measurements calculate control variables,
3. Write calculated control variables to data base.
Thank you in advance.
Regards, Anita

采纳的回答

Suneesh
Suneesh 2015-4-6
You could write a MATLAB function to perform the three steps and then use a MATLAB timer object to execute it as often as you need:

更多回答(0 个)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by