InstallationGuide » History » Version 5
Luis Figueira, 2012-06-19 06:08 PM
added info for 32 bit versions of Windows
1 | 1 | Luis Figueira | h1. Installation Guide |
---|---|---|---|
2 | 1 | Luis Figueira | |
3 | 1 | Luis Figueira | _note: this wiki page is being updated. Last changes: 19/06/2012_ |
4 | 1 | Luis Figueira | |
5 | 1 | Luis Figueira | h2. Overview |
6 | 1 | Luis Figueira | |
7 | 4 | Luis Figueira | Before you install SMALLbox you need to have MATLAB correctly installed and to make sure *mex* is working correctly. |
8 | 1 | Luis Figueira | |
9 | 5 | Luis Figueira | h2. MEX setup |
10 | 1 | Luis Figueira | |
11 | 3 | Luis Figueira | After installing MATLAB, you need to make sure you are able to build MEX-files. To do this you need a working compiler. |
12 | 3 | Luis Figueira | |
13 | 3 | Luis Figueira | h3. Mac OS X |
14 | 3 | Luis Figueira | |
15 | 3 | Luis Figueira | On OS X you need to install Xcode in order to have a C compiler. |
16 | 3 | Luis Figueira | |
17 | 3 | Luis Figueira | h3. Linux |
18 | 3 | Luis Figueira | |
19 | 5 | Luis Figueira | If you're using Linux, MATLAB will use gcc, which is included in most Linux distributions. |
20 | 1 | Luis Figueira | |
21 | 1 | Luis Figueira | h3. Windows |
22 | 5 | Luis Figueira | |
23 | 5 | Luis Figueira | h4. 32-bit |
24 | 5 | Luis Figueira | |
25 | 5 | Luis Figueira | On 32-bit versions of Microsoft Windows, MATLAB provides a C compiler, Lcc. |
26 | 5 | Luis Figueira | |
27 | 5 | Luis Figueira | h4. 64-bit |
28 | 1 | Luis Figueira | |
29 | 1 | Luis Figueira | h3. Testing mex |
30 | 1 | Luis Figueira | |
31 | 1 | Luis Figueira | h2. SMALLBox |
32 | 1 | Luis Figueira | |
33 | 1 | Luis Figueira | To install the toolbox run the script SMALLboxSetup.m from the MATLAB command prompt and follow the instructions. @SmallboxSetup.m@ is in the root SMALLbox directory. The SMALLbox installation involves the automatic download of several existing toolboxes. Due to the automatic download of toolboxes you must have an *active internet connection*. |
34 | 1 | Luis Figueira | |
35 | 1 | Luis Figueira | Please note that within the toolboxes are several MEX components that must be compiled. If you do not already have MEX setup, run "mex -setup" or type "help mex" in the MATLAB command prompt. |
36 | 1 | Luis Figueira | Once installed, there are two optional demo functions that can be run. Further information can be found in the README.txt in the main SMALLbox directory. |