Duke-UNC Brain Imaging and Analysis Center
BIAC Forums | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password   Forgot your Password?
 All Forums
 Support Forums
 Analysis Software Support
 matlab - roianalysis
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

ch186
New Member

20 Posts

Posted - Jun 23 2014 :  10:06:10 AM  Show Profile  Reply with Quote
I have been using the BIAC scripts for ROI analysis. I used them last month on my old version of Windows/MATLAB with no issue. I ran the exact same script this morning on the new version (no changes to the scripts) and got errors. Any idea what these error messages mean and how to fix them? All of the sub-files are in my U:\MATLAB folder and it appears that I have all those scripts still. Do I need to change something to work with the new Access since I am writing to a database?

Error using roianalysis_timecourse_iris (line 715)
Error using roianalysis_timecourse_iris (line 695)
Error using roitoaccess (line 248)
Error using roitoaccess>initializeDB (line 456)
Error reported:
Error using COM.ADOX_catalog/Create
Invoke Error, Dispatch Exception:
Source: Microsoft OLE DB Service Components
Description: Class not registered
Unable to create database with connection string: Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=\\selye\data\FearPTSD.01\Analysis\eventstats\ROI_calc_IFG_vmpfc.mdb

Error in ROI_timecourse_pre (line 59)
roianalysis_timecourse_iris(dataPath,dataFileSpec,dataTypeSpec,roiPath,roiFileSpec,roiTypeSpec,...

petty
BIAC Staff

USA
453 Posts

Posted - Jun 23 2014 :  2:28:21 PM  Show Profile  Reply with Quote

Looks like one of the tools used to interface with Access is not 64-bit compatible ( and apparently never will be according to Microsoft )

I replace the database provider with something valid inside roitoaccess.m and it seems to work:
%dbProvider='Microsoft.Jet.OLEDB.4.0';
dbProvider='Microsoft.ACE.OLEDB.12.0';

Also, looks like you have to set the option that the output is for XP to be able to interface with the DB correctly .. i changed this to the new default:
outputInfo.db_XP=1;
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
BIAC Forums © 2000-2010 Brain Imaging and Analysis Center Go To Top Of Page
This page was generated in 0.52 seconds. Snitz Forums 2000