[FieldTrip] EEG sensor position layout again

Hwee Ling Lee hweeling.lee at gmail.com
Thu Aug 15 14:13:04 CEST 2013


Hi,

Thanks for your advice. I restarted Matlab, and call for ft_defaults and
which QuikCap_NSL_128.mat, and I still get the same error message.

Also, is this the right layout file to use for my data?

Cheers,
Hweeling



On 15 August 2013 14:01, Johanna Zumer <johanna.zumer at gmail.com> wrote:

> Hi Hweeling,
>
> I just checked on my computer, and it helped to restart matlab and try
> again.  Maybe there is something strange if ft_defaults is called (again)
> during an already open session with previous calls to FT functions?
>
> Best,
> Johanna
>
>
> 2013/8/15 Hwee Ling Lee <hweeling.lee at gmail.com>
>
>> Hi,
>>
>> It states that:
>> 'QuikCap_NSL_128.mat' not found.
>>
>> However, when I checked fieldtrip/templates/layout, the mat file is
>> stored in this folder.
>>
>> Cheers,
>> Hweeling
>>
>>
>>
>> On 15 August 2013 13:33, Johanna Zumer <johanna.zumer at gmail.com> wrote:
>>
>>> Hi Hweeling,
>>>
>>> Since it says that it cannot find the Quikcap file, it sounds like it's
>>> not on your path.    Run  ft_defaults on your Matlab command, then test if
>>> the file is on your path:
>>> >> ft_defaults
>>> >> which QuikCap_NSL_128.mat
>>>
>>> Assuming it finds the file on your path, then do you still get the
>>> browser error?
>>>
>>> Best,
>>> Johanna
>>>
>>>
>>> 2013/8/15 Hwee Ling Lee <hweeling.lee at gmail.com>
>>>
>>>> Hi,
>>>>
>>>> A bit more details about my setup.
>>>>
>>>> I'm using a Easycap MRI compatible 128 channels cap. I tried to search
>>>> for a layout on the templates/layout, and I found one that might closest
>>>> fit to my needs ('QuikCap_NSL_128').
>>>> To view my components, I tried these series of commands:
>>>>
>>>> cfg = [];
>>>> cfg.viewmode = 'component';
>>>> cfg.continuous = 'yes';
>>>> cfg.layout = ft_prepare_layout('QuikCap_NSL_128');
>>>> ft_databrowser(cfg,ic_data);
>>>>
>>>> However, I was prompted with error messages:
>>>> Warning: Struct field assignment overwrites a value with class "char".
>>>> See MATLAB R14SP2 Release Notes, Assigning Nonstructure
>>>> Variables As Structures Displays Warning, for details.
>>>> > In utilities\private\ft_preamble_provenance at 49
>>>>   In ft_preamble at 54
>>>>   In ft_prepare_layout at 91
>>>> Error using ft_prepare_layout (line 582)
>>>> no layout detected, please specify cfg.layout
>>>>
>>>> Also when I tried the command,
>>>>
>>>> cfg = [];
>>>> cfg.viewmode = 'component';
>>>> cfg.continuous = 'yes';
>>>> cfg.layout = 'QuikCap_NSL_128';
>>>> ft_databrowser(cfg,ic_data);
>>>>
>>>> I get this error message:
>>>> Warning: could not open QuikCap_NSL_128
>>>> > In fileio\private\warning_once at 116
>>>>   In fileio\private\filetype_check_header at 54
>>>>   In ft_filetype at 328
>>>>   In ft_prepare_layout at 253
>>>>   In ft_databrowser at 226
>>>> Warning: could not determine filetype of QuikCap_NSL_128
>>>> > In fileio\private\warning_once at 116
>>>>   In ft_filetype at 1115
>>>>   In ft_prepare_layout at 253
>>>>   In ft_databrowser at 226
>>>> creating layout from electrode file QuikCap_NSL_128
>>>> Error using ft_read_sens (line 68)
>>>> file 'QuikCap_NSL_128' does not exist
>>>>
>>>> Error in ft_prepare_layout (line 275)
>>>>   lay = sens2lay(ft_read_sens(cfg.layout), cfg.rotate, cfg.projection,
>>>> cfg.style, cfg.overlap);
>>>>
>>>> Error in ft_databrowser (line 226)
>>>>   cfg.layout = ft_prepare_layout(tmpcfg);
>>>>
>>>>
>>>> Would anyone please help?
>>>>
>>>> Cheers,
>>>> Hweeling
>>>>
>>>> _______________________________________________
>>>> fieldtrip mailing list
>>>> fieldtrip at donders.ru.nl
>>>> http://mailman.science.ru.nl/mailman/listinfo/fieldtrip
>>>>
>>>
>>>
>>
>>
>> --
>> =================================================
>> Dr. rer. nat. Lee, Hwee Ling
>> Postdoc
>> German Center for Neurodegenerative Diseases (DZNE) Bonn
>>
>> Email 1: hwee-ling.lee<at>dzne.de
>> Email 2: hweeling.lee<at>gmail.com
>>
>> https://sites.google.com/site/hweelinglee/home
>>
>> Correspondence Address:
>> Ernst-Robert-Curtius Strasse 12, 53117, Bonn, Germany
>> =================================================
>>
>
>


-- 
=================================================
Dr. rer. nat. Lee, Hwee Ling
Postdoc
German Center for Neurodegenerative Diseases (DZNE) Bonn

Email 1: hwee-ling.lee<at>dzne.de
Email 2: hweeling.lee<at>gmail.com

https://sites.google.com/site/hweelinglee/home

Correspondence Address:
Ernst-Robert-Curtius Strasse 12, 53117, Bonn, Germany
=================================================
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20130815/98e487da/attachment.html>


More information about the fieldtrip mailing list