If you have a compiler installed on your workstation, then it should be straightforward to fix the problem. In a regular terminal, you can change directory to spm5/toolbox/DARTEL and then type: make If not, then someone may be able to provide the *.mexsol files that are needed. I don't have access to a suitable computer for doing this. All the best, -John On Tuesday 23 September 2008 11:36, Gregory, Sarah wrote: > Hi > > I am trying to create a template (having imported my segmented images), > and I keep getting the following error message > > Running "Run DARTEL (create Templates)" > > Error running job: Error using ==> optimNn > Not compiled for SOL2 in MATLAB 7.0.1.24704 (R14) Service Pack 1 (see > make.m) > > Any help please!!!! > > > Sarah Gregory > PhD Student > Dept. of Forensic Mental Health Science > Institute of Psychiatry, PO Box 23 > De Crespigny Park > London, SE5 8AF > > 020-7848-0046