open-discussion > RE: It does not work! Error using ==> cat
Feb 18, 2012  04:02 AM | Alfonso Nieto-Castanon - Boston University
RE: It does not work! Error using ==> cat
Hi Cristina,

This error typically indicates an 'empty' condition (e.g. if you enter 0 as duration for some condition for some subject), could you check in the Setup->Conditions tab whether this could be it? (otherwise please send me your conn_*.mat file and I will be happy to take a look at that to see if I can spot the problem here).

Also please remember to use the patch file that I attached in the previous mail (simply save this file in the folder where you have the conn12.p version, you should need to overwrite a file with the same name in that folder)

Best
Alfonso

ps. and sorry about the gui visibility issues, these had been resolved some time back for the new version, if these are really bothersome I will track down the ticket for this and make a patch for version 12 as well, let me know.

 
Originally posted by Cristina Sole-Padulles:
Hi Alfonso,

I downloaded conn12.p and run the whiole process from matlab7. The setup is ok, but then in the preprocessing a different error appears immediately. Different from the one that I had before >(the out of memory). The error now is this:

??? Error using ==> fwrite
Invalid byte count to skip.

Error in ==> [url=error:C:\Archivos de programa\SPM5\spm5\spm5\toolbox\conn\conn_init_vol.m,12,1]conn_init_vol at 12[/url]
fwrite(handle,[0],'float',4*(sum(V.size.Nv)*V.size.Nt-1)); 

Error in ==> [url=error:C:\Archivos de programa\SPM5\spm5\spm5\toolbox\conn\conn_process.m,559,1]conn_process at 559[/url]
                Yout{ncondition}=conn_init_vol(Yout{ncondition});

Error in ==> [url=error:C:\Archivos de programa\SPM5\spm5\spm5\toolbox\conn\conn_process.m,13,1]conn_process at 13[/url]
        case 'preprocessing_gui',disp(['CONN: RUNNING PREPROCESSING STEP']); conn_process([6:8],varargin{:});

Error in ==> [url=error:C:\Archivos de programa\SPM5\spm5\spm5\toolbox\conn\conn.m,1086,1]conn at 1086[/url]
conn_process('preprocessing_gui');

Error in ==> [url=error:C:\Archivos de programa\SPM5\spm5\spm5\toolbox\conn\conn_menumanager.m,112,1]conn_menumanager at 112[/url]
feval(MM.MENU{n0}.callback{n1}{1},MM.MENU{n0}.callback{n1}{2:end}); 

??? Error while evaluating figure WindowButtonUpFcn.

Really, I'm quite lost! I have also noticed I have problems entering the data because white I write appears in white and cannot be seen. I have to select it in order to check if it is OK. I am not sure whether it is an installation problem. I particularly have problems entering the band-pass filtering.
Thank you,
Cristina

Threaded View

TitleAuthorDate
Cristina Sole-Padulles Feb 8, 2012
Alfonso Nieto-Castanon Feb 11, 2012
Cristina Sole-Padulles Feb 13, 2012
Cristina Sole-Padulles Feb 13, 2012
Alfonso Nieto-Castanon Feb 15, 2012
Cristina Sole-Padulles Feb 23, 2012
Cristina Sole-Padulles Feb 16, 2012
RE: It does not work! Error using ==> cat
Alfonso Nieto-Castanon Feb 18, 2012
Riccardo Biffi Feb 8, 2012
Cristina Sole-Padulles Feb 9, 2012
Ming-Ru Chuang Feb 10, 2012
mehdi yousefi Feb 10, 2012