[Eeglablist] Import of Brainlab .sig files
Makoto Miyakoshi
mmiyakoshi at ucsd.edu
Wed Apr 2 12:48:50 PDT 2014
Dear Simon,
But you can read what's in the first line, second line, third line...
So, you open it using fopen, and obtain the first line by fgetl, and check
what is in the 'firstLine'. Every time you run fgetl it obtains the new
line, so you repeat it until you reach the beginning of numeric arrays.
Does it not work?
% open the file
FID = fopen(input);
% skip the first two lines
firstLine = fgetl(FID);
secondLine = fgetl(FID);
...
Makoto
2014-04-02 12:43 GMT-07:00 Simon-Shlomo Poil <poil.simonshlomo at gmail.com>:
> Dear Makoto,
>
> Thank you for you answer.
>
> Unfortunately that approach only works if you know the structure of the
> binary files. My problem is that I don't know the specification of the .sig
> format (and it also seems like these are not online).
>
> Best wishes,
> Simon
>
> --
> Simon-Shlomo Poil, Dr.
>
> Mobile number: +41 (0)76 399 5809
> LinkedIn profile: http://ch.linkedin.com/in/simonshlomopoil/
>
> The Neurophysiological Biomarker Toolbox (NBT): http://www.nbtwiki.net
>
> My latest publications:
> Integrative EEG biomarkers predict progression to Alzheimer's disease at
> the MCI stage: http://l.nbtwiki.net/19jMuy8
>
> The Amsterdam Resting-State Questionnaire reveals multiple phenotypes of
> resting-state cognition: http://l.nbtwiki.net/17yblK7
>
>
>
> 2014-04-02 21:35 GMT+02:00 Makoto Miyakoshi <mmiyakoshi at ucsd.edu>:
>
> Dear Simon-Shlomo,
>>
>> I wrote readNihonKodenM00(). The solution used there (using fopen(),
>> fgetl(), fscanf()...) could be also applied to your dataset. Please
>> download the plugin NihonKoden from here (or via download manager if EEGLAB
>> v13 or later)
>> http://sccn.ucsd.edu/wiki/Plugin_list_import
>>
>> Makoto
>>
>>
>>
>> 2014-04-02 2:42 GMT-07:00 Simon-Shlomo Poil <poil.simonshlomo at gmail.com>
>> :
>>
>>> Dear all,
>>>
>>> I have a problem importing .sig files from Brainlab to Matlab (I have
>>> .sig and .sts file for each recording).
>>>
>>> It seems that neither EEGLAB nor Fieldtrip supports import of these
>>> files.
>>>
>>> Does anybody have an idea of how to import these files to Matlab?
>>>
>>> Best regards,
>>> Simon-Shlomo Poil, Dr.
>>>
>>>
>>> _______________________________________________
>>> 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
>>
>
>
--
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/20140402/b760cecb/attachment.html>
More information about the eeglablist
mailing list