%-----------------------------------------------------------------------
% Job configuration created by cfg_util (rev $Rev: 4252 $)
%-----------------------------------------------------------------------
matlabbatch{1}.cfg_basicio.cfg_mkdir.parent = {'/home/john/SPMcourse/'};
matlabbatch{1}.cfg_basicio.cfg_mkdir.name = 'results';
matlabbatch{2}.spm.stats.factorial_design.dir(1) = cfg_dep;
matlabbatch{2}.spm.stats.factorial_design.dir(1).tname = 'Directory';
matlabbatch{2}.spm.stats.factorial_design.dir(1).tgt_spec{1}(1).name = 'filter';
matlabbatch{2}.spm.stats.factorial_design.dir(1).tgt_spec{1}(1).value = 'dir';
matlabbatch{2}.spm.stats.factorial_design.dir(1).tgt_spec{1}(2).name = 'strtype';
matlabbatch{2}.spm.stats.factorial_design.dir(1).tgt_spec{1}(2).value = 'e';
matlabbatch{2}.spm.stats.factorial_design.dir(1).sname = 'Make Directory: Make Directory ''results''';
matlabbatch{2}.spm.stats.factorial_design.dir(1).src_exbranch = substruct('.','val', '{}',{1}, '.','val', '{}',{1});
matlabbatch{2}.spm.stats.factorial_design.dir(1).src_output = substruct('.','dir');
%%
matlabbatch{2}.spm.stats.factorial_design.des.mreg.scans = {
                                                            '/home/john/SPMcourse/smwc/smwc1IXI013-HH-1212-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI015-HH-1258-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI033-HH-1259-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI034-HH-1260-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI039-HH-1261-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI048-HH-1326-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI049-HH-1358-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI051-HH-1328-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI052-HH-1343-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI056-HH-1327-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI057-HH-1342-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI059-HH-1284-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI067-HH-1356-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI072-HH-2324-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI079-HH-1388-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI080-HH-1341-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI083-HH-1357-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI092-HH-1436-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI093-HH-1359-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI094-HH-1355-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI095-HH-1390-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI096-HH-1391-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI097-HH-1619-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI102-HH-1416-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI104-HH-1450-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI105-HH-1471-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI126-HH-1437-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI127-HH-1451-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI128-HH-1470-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI130-HH-1528-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI131-HH-1527-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI132-HH-1415-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI136-HH-1452-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI137-HH-1472-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI146-HH-1389-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI148-HH-1453-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI150-HH-1550-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI159-HH-1549-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI160-HH-1637-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI161-HH-2533-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI162-HH-1548-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI163-HH-1621-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI165-HH-1589-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI167-HH-1569-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI168-HH-1607-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI173-HH-1590-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI174-HH-1571-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI175-HH-1570-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI176-HH-1604-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI180-HH-1605-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI195-HH-1620-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI201-HH-1588-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI202-HH-1526-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI204-HH-1651-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI205-HH-1649-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI206-HH-1650-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI211-HH-1568-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI212-HH-1643-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI214-HH-1636-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI216-HH-1635-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI217-HH-1638-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI218-HH-1815-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI221-HH-1606-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI226-HH-1618-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI239-HH-2296-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI242-HH-1722-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI248-HH-1972-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI252-HH-1693-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI253-HH-1694-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI254-HH-1705-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI256-HH-1723-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI257-HH-1724-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI258-HH-1769-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI259-HH-1804-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI260-HH-1805-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI261-HH-1704-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI262-HH-1861-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI263-HH-1684-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI267-HH-1772-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI274-HH-2294-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI275-HH-1803-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI276-HH-1840-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI277-HH-1770-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI278-HH-1771-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI280-HH-1860-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI282-HH-2025-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI284-HH-2354-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI295-HH-1814-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI296-HH-1970-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI313-HH-2241-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI316-HH-1862-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI327-HH-1999-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI329-HH-1908-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI334-HH-1907-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI335-HH-1906-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI338-HH-1971-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI353-HH-1996-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI354-HH-2024-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI356-HH-2049-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI357-HH-2076-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI362-HH-2051-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI383-HH-2099-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI384-HH-2100-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI385-HH-2078-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI386-HH-2077-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI387-HH-2101-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI396-HH-2115-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI436-HH-2153-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI437-HH-2152-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI438-HH-2155-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI439-HH-2114-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI440-HH-2127-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI441-HH-2154-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI443-HH-2215-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI444-HH-2270-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI445-HH-2269-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI446-HH-2325-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI448-HH-2393-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI451-HH-2212-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI452-HH-2213-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI453-HH-2214-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI465-HH-2176-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI481-HH-2175-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI482-HH-2178-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI483-HH-2177-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI484-HH-2179-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI485-HH-2180-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI508-HH-2268-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI511-HH-2238-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI515-HH-2377-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI516-HH-2297-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI518-HH-2239-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI519-HH-2240-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI521-HH-2353-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI522-HH-2453-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI524-HH-2412-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI525-HH-2413-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI526-HH-2392-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI527-HH-2376-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI537-HH-2378-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI538-HH-2411-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI544-HH-2395-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI546-HH-2450-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI556-HH-2452-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI559-HH-2394-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI565-HH-2534-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI566-HH-2535-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI567-HH-2536-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI568-HH-2607-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI572-HH-2605-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI575-HH-2658-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI577-HH-2661-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI586-HH-2451-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI598-HH-2606-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI599-HH-2659-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI600-HH-2660-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI601-HH-2700-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI603-HH-2701-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI605-HH-2598-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI606-HH-2601-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI608-HH-2599-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI609-HH-2600-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI610-HH-2649-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI611-HH-2650-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI612-HH-2688-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI613-HH-2734-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI614-HH-2735-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI631-HH-2651-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI632-HH-2652-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI633-HH-2689-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI634-HH-2690-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI635-HH-2691-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI636-HH-2733-T1.nii,1'
                                                            '/home/john/SPMcourse/smwc/smwc1IXI646-HH-2653-T1.nii,1'
                                                            };
%%
%%
matlabbatch{2}.spm.stats.factorial_design.des.mreg.mcov(1).c = [0
                                                                0
                                                                0
                                                                1
                                                                0
                                                                0
                                                                0
                                                                1
                                                                1
                                                                0
                                                                1
                                                                0
                                                                0
                                                                0
                                                                1
                                                                1
                                                                0
                                                                0
                                                                0
                                                                0
                                                                1
                                                                0
                                                                1
                                                                1
                                                                0
                                                                0
                                                                0
                                                                1
                                                                1
                                                                0
                                                                1
                                                                0
                                                                0
                                                                0
                                                                0
                                                                1
                                                                1
                                                                1
                                                                1
                                                                1
                                                                0
                                                                0
                                                                0
                                                                1
                                                                0
                                                                1
                                                                1
                                                                0
                                                                0
                                                                1
                                                                0
                                                                1
                                                                0
                                                                1
                                                                0
                                                                1
                                                                0
                                                                0
                                                                1
                                                                0
                                                                1
                                                                1
                                                                0
                                                                1
                                                                1
                                                                0
                                                                1
                                                                1
                                                                1
                                                                1
                                                                0
                                                                0
                                                                1
                                                                1
                                                                0
                                                                0
                                                                1
                                                                1
                                                                0
                                                                1
                                                                0
                                                                0
                                                                1
                                                                0
                                                                1
                                                                0
                                                                1
                                                                1
                                                                1
                                                                0
                                                                0
                                                                0
                                                                0
                                                                1
                                                                0
                                                                1
                                                                1
                                                                0
                                                                1
                                                                1
                                                                1
                                                                1
                                                                1
                                                                1
                                                                1
                                                                1
                                                                1
                                                                0
                                                                1
                                                                0
                                                                1
                                                                0
                                                                1
                                                                0
                                                                1
                                                                0
                                                                1
                                                                0
                                                                1
                                                                1
                                                                0
                                                                0
                                                                0
                                                                1
                                                                1
                                                                0
                                                                1
                                                                1
                                                                1
                                                                1
                                                                1
                                                                1
                                                                0
                                                                1
                                                                1
                                                                1
                                                                0
                                                                1
                                                                0
                                                                1
                                                                1
                                                                1
                                                                1
                                                                0
                                                                1
                                                                0
                                                                1
                                                                1
                                                                1
                                                                1
                                                                1
                                                                1
                                                                0
                                                                0
                                                                0
                                                                0
                                                                0
                                                                1
                                                                1
                                                                0
                                                                0
                                                                0
                                                                0
                                                                0
                                                                0
                                                                0
                                                                1
                                                                0
                                                                0
                                                                0
                                                                0
                                                                0
                                                                0
                                                                1];
%%
matlabbatch{2}.spm.stats.factorial_design.des.mreg.mcov(1).cname = 'Gender';
matlabbatch{2}.spm.stats.factorial_design.des.mreg.mcov(1).iCC = 1;
%%
matlabbatch{2}.spm.stats.factorial_design.des.mreg.mcov(2).c = [46
                                                                24
                                                                24
                                                                24
                                                                23
                                                                50
                                                                31
                                                                25
                                                                33
                                                                25
                                                                28
                                                                34
                                                                24
                                                                68
                                                                52
                                                                21
                                                                30
                                                                33
                                                                26
                                                                24
                                                                24
                                                                26
                                                                35
                                                                24
                                                                27
                                                                38
                                                                57
                                                                29
                                                                27
                                                                38
                                                                45
                                                                58
                                                                35
                                                                41
                                                                33
                                                                40
                                                                27
                                                                24
                                                                39
                                                                65
                                                                50
                                                                48
                                                                24
                                                                67
                                                                43
                                                                29
                                                                63
                                                                72
                                                                24
                                                                42
                                                                37
                                                                22
                                                                20
                                                                74
                                                                45
                                                                50
                                                                55
                                                                59
                                                                24
                                                                73
                                                                57
                                                                35
                                                                48
                                                                41
                                                                63
                                                                31
                                                                44
                                                                70
                                                                24
                                                                25
                                                                27
                                                                69
                                                                22
                                                                59
                                                                60
                                                                34
                                                                20
                                                                25
                                                                35
                                                                73
                                                                24
                                                                20
                                                                61
                                                                20
                                                                42
                                                                40
                                                                63
                                                                50
                                                                64
                                                                65
                                                                56
                                                                73
                                                                55
                                                                69
                                                                69
                                                                61
                                                                52
                                                                45
                                                                64
                                                                63
                                                                41
                                                                74
                                                                74
                                                                64
                                                                52
                                                                46
                                                                53
                                                                28
                                                                55
                                                                63
                                                                43
                                                                48
                                                                48
                                                                69
                                                                58
                                                                60
                                                                60
                                                                79
                                                                41
                                                                63
                                                                63
                                                                69
                                                                65
                                                                72
                                                                63
                                                                66
                                                                68
                                                                60
                                                                64
                                                                62
                                                                60
                                                                75
                                                                57
                                                                70
                                                                28
                                                                33
                                                                41
                                                                54
                                                                53
                                                                67
                                                                81
                                                                58
                                                                60
                                                                55
                                                                67
                                                                63
                                                                43
                                                                28
                                                                33
                                                                41
                                                                57
                                                                64
                                                                34
                                                                52
                                                                39
                                                                38
                                                                35
                                                                66
                                                                70
                                                                60
                                                                52
                                                                29
                                                                56
                                                                28
                                                                33
                                                                25
                                                                26
                                                                41
                                                                56
                                                                36
                                                                34
                                                                25
                                                                43
                                                                71];
%%
matlabbatch{2}.spm.stats.factorial_design.des.mreg.mcov(2).cname = 'age';
matlabbatch{2}.spm.stats.factorial_design.des.mreg.mcov(2).iCC = 1;
matlabbatch{2}.spm.stats.factorial_design.des.mreg.incint = 1;
matlabbatch{2}.spm.stats.factorial_design.cov = struct('c', {}, 'cname', {}, 'iCFI', {}, 'iCC', {});
matlabbatch{2}.spm.stats.factorial_design.masking.tm.tma.athresh = 0.05;
matlabbatch{2}.spm.stats.factorial_design.masking.im = 1;
matlabbatch{2}.spm.stats.factorial_design.masking.em = {''};
matlabbatch{2}.spm.stats.factorial_design.globalc.g_omit = 1;
matlabbatch{2}.spm.stats.factorial_design.globalm.gmsca.gmsca_no = 1;
matlabbatch{2}.spm.stats.factorial_design.globalm.glonorm = 1;
matlabbatch{3}.spm.stats.fmri_est.spmmat(1) = cfg_dep;
matlabbatch{3}.spm.stats.fmri_est.spmmat(1).tname = 'Select SPM.mat';
matlabbatch{3}.spm.stats.fmri_est.spmmat(1).tgt_spec{1}(1).name = 'filter';
matlabbatch{3}.spm.stats.fmri_est.spmmat(1).tgt_spec{1}(1).value = 'mat';
matlabbatch{3}.spm.stats.fmri_est.spmmat(1).tgt_spec{1}(2).name = 'strtype';
matlabbatch{3}.spm.stats.fmri_est.spmmat(1).tgt_spec{1}(2).value = 'e';
matlabbatch{3}.spm.stats.fmri_est.spmmat(1).sname = 'Factorial design specification: SPM.mat File';
matlabbatch{3}.spm.stats.fmri_est.spmmat(1).src_exbranch = substruct('.','val', '{}',{2}, '.','val', '{}',{1}, '.','val', '{}',{1});
matlabbatch{3}.spm.stats.fmri_est.spmmat(1).src_output = substruct('.','spmmat');
matlabbatch{3}.spm.stats.fmri_est.method.Classical = 1;
