[FieldTrip] help about ' fieldtrip2fiff '

Gio Piantoni gio at gpiantoni.com
Mon Mar 31 17:01:41 CEST 2014


Hi Xiao,

Nice that updating the FieldTrip version was sufficient to get rid of
the initial error. The current error is related to writing permissions
on your OS:
https://github.com/fieldtrip/fieldtrip/blob/master/external/mne/fiff_start_file.m#L35

The command that fails is fopen (matlab built-in command). Can you try to run:
[fid,message] = fopen(name,'w+','ieee-be');
where 'name' is the name of the file that you want to write in FIFF format.

If that fails, please have a look at the matlab documentation for
fopen and related troubleshooting.

Best,
-g




On Mon, Mar 31, 2014 at 4:37 AM, tongxiao meng <mengtongxiao at gmail.com> wrote:
> Hi all
>
> I downloading a new version of FieldTrip, but there are also have some
> errors,
>
> ??? Error using ==> fiff_start_file at 35
> Permission denied
>
> Error in ==> fiff_start_writing_raw at 54
> fid = fiff_start_file(name);
>
> Error in ==> fieldtrip2fiff at 124
>   [outfid, cals] = fiff_start_writing_raw(fifffile, info);
>
> Why?
> thanks,
> xiao
>
> _______________________________________________
> fieldtrip mailing list
> fieldtrip at donders.ru.nl
> http://mailman.science.ru.nl/mailman/listinfo/fieldtrip




More information about the fieldtrip mailing list