Changes between Version 6 and Version 7 of MatlabObject
- Timestamp:
- 02/15/10 00:14:26 (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
MatlabObject
v6 v7 26 26 27 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 28 * lnx_callback.m 29 * lnx_install_dir.m 30 * aloe_main.c 31 * lnx_unix.tmf 32 * make_lnx.m 33 * aloe.tlc 34 * rtwmakecfg.m 29 35 30 36 This files are packed in the file: aloe_simulink.zip … … 38 44 We recomend to create a directory on Linux 39 45 46 {{{ 40 47 ~/matlab-files/ 48 }}} 41 49 42 50 Copy there the following directories from the Matlab installation path: 43 51 52 {{{ 44 53 %MATLAB%/extern 45 54 %MATLAB%/rtw 46 55 %MATLAB%/simulink 47 56 %MATLAB%/toolbox 57 }}} 48 58 49 59 The ALOE target directory under rtw/c/ must also be copied. … … 59 69 The second trick is to indicate ALOE the direction of the signal (input/output). We will insert the key in_ or out_ before the name of the signal. The name that ALOE will finally use to access this interface (in the Application Definition’s File) will be, for the case of an input interface: 60 70 61 in_itfName_re for the real part and62 in_itfName_im for the imaginary part.71 * in_itfName_re for the real part and 72 * in_itfName_im for the imaginary part. 63 73 64 74 Finally, we have to select the interface we want to use to access this signal which will be global export. … … 107 117 On a linux console, go to your model path and type: 108 118 119 {{{ 109 120 make -f modelname.mk 121 }}} 110 122 111 123 This should compile your model and create the executable at ../modelname … … 120 132 The following is an example of a source model: 121 133 134 {{{ 122 135 object { 123 136 obj_name=crand_d_source … … 137 150 } 138 151 } 139 152 }}} 140 153 141 154 [wiki:ALOE Back to ALOE]