I am first time OSI-PI user and trying to pull archived data from OSI-PI server to Matlab environment for further analysis. I am using PI OLEDB Provider with MATLAB to pull process data for calculations into MATLAB. I followed white paper and Matlab code provided in VCampus library . I am able to connect to PI server through Matlab and pull the data but at present I am able to extract data for only one tag at at time for user defined time stamp . I can use for loop in Matlab and reapeat this process but it may not be efficient way to pull the data.
Is there anyway to pull the data for user defined time duration and user defined mutiple tags in Matlab environment?