Getting data from openHistorian/ openPDC to MATLAB

I am trying to get real-time data into Matlab from openHistorian/openPDC.
I have tried using MySQL database, But in MySQL database, I am getting only configuration files of openPDC/ OpenHistorian.
How can I acquire data (Not configuration files) from openPDC/openHistorian to MySQL database?
Please suggest something.


Hi Sugandh,

If you must use MySQL, I would suggest trying out AdoOutputAdapter or creating your own custom adapter. You may also consider trying out openECA to get real-time data into a MATLAB project.

FYI, if you want to try openECA, there seems to be issues with the latest release so you may need to use the nightly build version. See the following topic for details.