PDA

View Full Version : Create default database


dweber
May 1st, 2006, 22:09
BrainStorm Toolbox v. 27 June 2005



Starting BrainStorm, watch for messages in Message Window . . .
??? Index exceeds matrix dimensions.

Error in ==> make_default_database at 323
if ~exist(UserDB(i).STUDIES,'dir') | ~exist(UserDB(i).SUBJECTS,'dir')

Error in ==> brainstormv2 at 404
UserDefault = make_default_database(0); % only check the current database




>> userDB = getpref('BrainStorm','UserDataBase')
userDB =
1x2 struct array with fields:
Comment
STUDIES
SUBJECTS
FILELIST
>> userDB.Comment
ans =
Default Database
ans =
Phantom

Sylvain
May 2nd, 2006, 04:23
Thanks for pointing at this bug.
Though it's annoying to see error messages in the command window, this does not prevent the subsequent proper usage of BST once the DataBase Manager pops out.

Please keep me posted on this one.