Changes between Version 6 and Version 7 of MatlabObject

Show
Ignore:
Timestamp:
02/15/10 00:14:26 (15 years ago)
Author:
ismael (IP: 62.57.1.15)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • MatlabObject

    v6 v7  
    2626 
    2727  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 
    2935 
    3036  This files are packed in the file: aloe_simulink.zip 
     
    3844We recomend to create a directory on Linux  
    3945 
     46{{{ 
    4047~/matlab-files/ 
     48}}} 
    4149 
    4250Copy there the following directories from the Matlab installation path: 
    4351 
     52{{{ 
    4453%MATLAB%/extern 
    4554%MATLAB%/rtw 
    4655%MATLAB%/simulink 
    4756%MATLAB%/toolbox 
     57}}} 
    4858 
    4959The ALOE target directory under rtw/c/ must also be copied. 
     
    5969The 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: 
    6070 
    61 in_itfName_re for the real part and 
    62 in_itfName_im for the imaginary part. 
     71 * in_itfName_re for the real part and 
     72 * in_itfName_im for the imaginary part. 
    6373 
    6474Finally, we have to select the interface we want to use to access this signal which will be global export.  
     
    107117On a linux console, go to your model path and type: 
    108118 
     119{{{ 
    109120make -f modelname.mk 
     121}}} 
    110122 
    111123This should compile your model and create the executable at ../modelname 
     
    120132The following is an example of a source model: 
    121133 
     134{{{ 
    122135object { 
    123136        obj_name=crand_d_source 
     
    137150        } 
    138151} 
    139  
     152}}} 
    140153 
    141154[wiki:ALOE Back to ALOE]