% unzip iFit.zipStart Matlab by clicking on its icon or typing the matlab command in a terminal.
% cp -r iFit /path/to
% matlabIn order to use iFit, you need to import all its methods into Matlab each time you start it (this may be automated from the startup.m file).
>> addpath(genpath('/path/to/iFit'))This can also be done from the Matlab menu File/Set Path.../Add with subfolders... then enter the iFit location, and Save. That's all !
>> mex -setup % select compilerAn other solution, somewhat more complex to tune, is to use gcc (from e.g. MingW) and the gnumex tool. The Dev-Cpp compiler (which includes gcc) may also be used.
[1] Microsoft Windows VS2008
>> addpath(genpath('/location/to/iFit')) % install iFit
>> delete ([ ifitpath 'iFiles/private/looktxt.mexw64' ]) % delete old looktxt MeX
>> iLoad force % reload importer methods and recompile looktxt
>> iLoad forcefrom the Matlab prompt. The C compiler to use may have to be specified with the command '>> mex -setup'.
>> ifittest
which will test, in a few minutes, all the examples given in this documentation and report
failures. In principle all should go right.. Refer to the iFit Help in case of trouble.