Page 1 of 1

exporting .tex files into Matlab

Posted: Tue Sep 13, 2011 10:55 am
by joost
Hi,

we're using version BV4.1.

we want to export .tex files into Matlab. we searched the forum and did not find a (clear) answer. we found this document: http://brainvisa.info/doc/documents-4.1/formats/tex.pdf

how can we convert .tex into ascii (possibly using AimsFileConvert, but what's the *exact* command?)?

.tex -> .gii -> Matlab may be another route ("Brainvisa to Gifti" in the GUI) but we fail to go from .tex to .gii, any pointers on how to do this?

merci,
-joost

Re: exporting .tex files into Matlab

Posted: Tue Sep 13, 2011 3:57 pm
by Yann Cointepas
The tex format can be in binary or in ascii. To convert in ascii, you can use the following:

Code: Select all

AimsFileConvert -i input.tex -o output.tex -e 1
You can do the same with a Gifti output:

Code: Select all

AimsFileConvert -i input.tex -o output.gii -e 1