I am using the PI OLEDB Provider with MATLAB to pull process data for calculations into MATLAB. I have followed the white paper however the functions crash MATLAB (infinite loop unable to ctrl+C out).This happens when a script is run back to back in MATLAB. I am using MATLAB 2009bSP1 on a WIndows XP SP3 machine with the latest version of PIOLEDB Provider (18.104.22.168a).
Maybe to make it more clear, if a script runs right when MATLAB first opens, it runs fine, no matter how many calls to PIOLEDB are within that first script. But if the script is rerun, MATLAB loops forever.
If anyone can provide any insight on this matter it would be greatly appreciated.