Real time control based on communication with database

3 views (last 30 days)
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

Accepted Answer

Suneesh
Suneesh on 6 Apr 2015
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:

More Answers (0)

Community Treasure Hunt

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

Start Hunting!