Reference Architecture

Actionable Analytics with OSIsoft PI System, MATLAB, and MATLAB Production Server

Develop MATLAB functions with PI Asset Framework data and deploy to production to discover trends, uncover insights, and predict events 

MATLAB Interface for OSIsoft PI System

Connect to OSIsoft® PI System™ Asset Framework and access asset and time series data from MATLAB® using the MATLAB interface for OSIsoft PI System. Analyze the data using your own algorithms or leverage dozens of MATLAB toolboxes.

You can:

  • Visualize the findings
  • Create reports and share your insights
  • Flag anomalies
  • Identify preventative maintenance patterns and predict remaining useful life of assets

In R2022a and later, the MATLAB Interface for OSIsoft PI System is included in Industrial Communication Toolbox.

Algorithm development and analysis workflow​.

Algorithm development and analysis workflow​.


Interface with OSIsoft PI Using Industrial Communication Toolbox (R2022a and later)

Download the MATLAB Interface for OSIsoft PI System (R2018a-R2021b)

Required Products for MATLAB Interface for OSIsoft PI System

OSIsoft PI Server (Tested with 2018 SP2; backward compatibility possible)

  • OSIsoft Asset Framework
  • OSIsoft Asset Framework SDK (Backwards compatible)
  • OSIsoft PI System Access License

MATLAB Production Server Interface for OSIsoft PI System

With the MATLAB Production Server interface for OSIsoft PI System, you can use MATLAB functions as part of your production workflow.

You can map OSIsoft PI AF asset data as MATLAB function arguments and perform live data analysis. You can also write back analysis results to PI AF and use them in your reports and OSIsoft tools like PI Vision.

You can:

  • Automate algorithm execution with production data from PI AF
  • Run multiple analyses at scale with MATLAB Production Server
  • Write results back to OSIsoft PI AF or other downstream systems, adding deep insight to process monitoring
  • Use OSIsoft’s user interface tools to display results

Production deployment workflow.


Download the MATLAB Production Server Interface for OSIsoft PI System (R2018a and later)

Required Products for MATLAB Production Server Interface for OSIsoft PI System

OSIsoft PI Server (Tested with 2018 SP2; backward compatibility possible)

  • OSIsoft Asset Framework
  • OSIsoft Asset Framework SDK (Backwards compatible)
  • OSIsoft PI System Access License