9 | | 2) |
| 9 | 1) MATLAB 2008/2009 and Simulink |
| 10 | |
| 11 | 2) Linux with ALOE 1.2 or greater |
| 12 | |
| 13 | [[BR]] |
| 14 | |
| 15 | == Installation == |
| 16 | |
| 17 | To be able to generate ALOE modules from MATLAB, you need to configure MATLAB and ALOE. |
| 18 | |
| 19 | === MATLAB === |
| 20 | |
| 21 | 1) Copy ALOE target files to Matlab's path: |
| 22 | |
| 23 | {{{ |
| 24 | %MATLAB%/rtw/c/aloe |
| 25 | }}} |
| 26 | |
| 27 | ALOE Simulink target list of files: |
| 28 | * lnx_callback.m, lnx_install_dir.m, aloe_main.c, lnx_unix.tmf, make_lnx.m, aloe.tlc, rtwmakecfg.m |
| 29 | |
| 30 | This files are packed in the file: aloe_simulink.zip |
| 31 | |
| 32 | 2) Start Matlab and add the new directory to Matlab's path (File->Set path...) |
| 33 | |
| 34 | === ALOE === |
| 35 | |
| 36 | To compile Matlab models from on the Linux machine, we have to copy Matlab’s libraries and headers to Linux. This is as easy as copying the directory structure from the Matlab directory to the linux machine. |
| 37 | |
| 38 | We recomend to create a directory on Linux |
| 39 | |
| 40 | ~/matlab-files/ |
| 41 | |
| 42 | Copy there the following directories from the Matlab installation path: |
| 43 | |
| 44 | %MATLAB%/extern |
| 45 | %MATLAB%/rtw |
| 46 | %MATLAB%/simulink |
| 47 | %MATLAB%/toolbox |
| 48 | |
| 49 | The ALOE target directory under rtw/c/ must also be copied. |
| 50 | |
| 51 | The amount of files to copy may be quite big (depending on the number of toolboxes you have installed). Obviously, only the toolboxes that you are going to use should be copied however, we recommend to copy all of them, nobody knows what your will be doing in the future. |
| 52 | |
| 53 | [[BR]] |
| 54 | |
| 55 | == Model Generation == |
| 56 | |
| 57 | |
| 58 | |
| 59 | |
| 60 | |
| 61 | |