vi <path/to/>design.txt
The values of the design matrix correspond to which group the subject belongs to in reference to the explanatory variable. The first 10 rows are participants in the TBI group, while the last 10 rows include subjects in the control group. For the rows of the TBI group, the values of the design matrix are : [1 0], while the values for the control rows are [0 1].
After the file is saved as a text file, it is converted to the format that FSL can read, and is saved as design.mat.
Text2Vest design.txt design.mat
Contrast Files
A contrast file describes the comparisons between each group with each explanatory variable. In our contrast file we included labels for what each comparison would provide. In the body of the contrast file, the numbers, each column represents an explanatory variable and each row represents a contrast.
/Contrast1 TBI > Ctrl
/Contrast2 Ctrl > TBI
/Contrast3 mean TBI
/Contrast4 man Ctrl
1 -1  
-1 1
1  0
0  1
As with the design file, the contrast file was first created as a basic text file and then converted to the necessary format for FSL to read.