Problem while importing new Datasets

Hi,
I am new to BrainStorm…I have a problem when I want to import a new Dataset (MEG). I have already defined my database, but when I try to import the Dataset, I have this message in the top (left) of the importation window:
No CTF data sets in current study folder:
(mynameofdataset.ds)

and in matlab, I have this error message:

??? Cell contents reference from a non-cell array

Error in ==> importdata at 486
DataInformation{iDataSet(k)} = ds2Brainstorm(fullfile(Users.STUDIES,DataDir{iDataSet(k)},0,2);

??? Error unsing ==> importdata Markerinfo
Cell contents reference from a non-cell array object.

??? Error while evaluating uicontrol Callback

??? Attempted to access DataDir(2); index out of bounds because numel(DataDir)=0.

Error in ==> impordata at 1710
DataDir = DataDir(iDataDir);

??? Error using ==> importdata OK
Attempted to access DataDir(2); index out of bounds because numel(DataDir)=0.

??? Error while evaluating uicontrol Callback

If you could tell me if I have problems with my dataset, or what can I do to not have this problem any more…it would be great!!

Thanks a lot!

Hello,

it seems it’s just a matter of correctly defining where your datasets are. Make sure tat your database is correctly defined, meaning that the STUDIES folder is the parent of all your data folders. By the way, are you trying to import CTF data sets. If not, what format are you using and make sure that it is available from the pulldown menu of the Import tool.

In case of doubt, check the documentation http://neuroimage.usc.edu/brainstorm/TutorialImportCTFData.html or let me know what is going wrong.