[Eeglablist] Error while precomputing channel measures
Makoto Miyakoshi
mmiyakoshi at ucsd.edu
Wed Dec 9 17:14:06 PST 2015
Dear Fernanda,
Sorry for trouble. That sounds weird.
Unfortunately, all I can do for you is to recommend that you file the
problem to EEGLAB bugzilla with high priority. By the way I could not find
Bug764, removed because 'fixed'?
Makoto
On Mon, Dec 7, 2015 at 7:56 AM, Fernanda Pérez Gay Juárez <
fernandapgj at gmail.com> wrote:
> Hello,
>
> I've been having this problem when trying to do some grand averages. After
> loading all my datasets, and when clicking on "precompute channel
> measures", I get the following error message.
>
> Unable to write -MAT file C:(...)subject22>after.daterp
>
> File may be corrupt
>
> (Error occured in function std_savedat at line 47)
>
> I found a similar problem reported in Bugzilla, namely Bug 764, but the
> savedat function seems to have a fix for that bug. Here's the savedat
> function code:
>
> "function std_savedat( tmpfile, structure)
>
> delims = find( tmpfile == '.');
> if ~isfield(structure, 'datafile') && ~isfield(structure, 'datafiles')
> structure.datafile = [ tmpfile(1:delims(end)-1) '.set' ];
> end;
>
> % fix reading problem (bug 764)
> tmpfile2 = which(tmpfile);
> if isempty(tmpfile2), tmpfile2 = tmpfile; end;
> tmpfile = tmpfile2;
>
> eeglab_options;
> if option_saveversion6
> try
> save('-v6' , tmpfile, '-struct', 'structure');
> catch
> fields = fieldnames(structure);
> for i=1:length(fields)
> eval([ fields{i} '=structure.' fields{i} ';']);
> end;
> save('-mat', tmpfile, fields{:});
> end;
> * else *
> * save('-v7.3' , tmpfile, '-struct', 'structure'); **line 47*
> end;
> "
>
> Note that my subjects datasets have been processed in another computer
> however, last week I ran a grand average with files done on that same
> computer and it worked fine. The MATLAB and eeglab versions on that other
> computer are the same. This error happens with some datasets, but not with
> others, so I ignore what could be possibly causing it.
>
> Thanks for your help,
>
> Fernanda
>
>
>
> _______________________________________________
> Eeglablist page: http://sccn.ucsd.edu/eeglab/eeglabmail.html
> To unsubscribe, send an empty email to
> eeglablist-unsubscribe at sccn.ucsd.edu
> For digest mode, send an email with the subject "set digest mime" to
> eeglablist-request at sccn.ucsd.edu
>
--
Makoto Miyakoshi
Swartz Center for Computational Neuroscience
Institute for Neural Computation, University of California San Diego
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sccn.ucsd.edu/pipermail/eeglablist/attachments/20151209/a643c920/attachment.html>
More information about the eeglablist
mailing list