exporting .tex files into Matlab

Questions about BrainVisa usage and installation

Moderators: denghien, riviere

Post Reply
joost
Posts: 86
Joined: Tue Feb 05, 2008 1:56 pm

exporting .tex files into Matlab

Post 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
User avatar
Yann Cointepas
Posts: 316
Joined: Tue Jan 20, 2004 2:56 pm
Location: Neurospin, Saint Aubin, France
Contact:

Re: exporting .tex files into Matlab

Post 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
Post Reply