|
RT Code Generation |
Top Previous Next |
|
To build a model the MATLAB® Real Time Workshop® (RTW) is required. The Real Time Workshop® must be configured under the 'Simulation/Real Time Workshop'.. (CTRL+E)'.
The Real Time Workshop® must be configured as follows: System target file: SCALE_5_1.tlc Language: C TLC options: none Make command: psys_make_rtw Template makefile: SCALE_5_1.tmf
Note: Before starting the build process ensure the path of the MATLAB® working directory doesn't contain a blank.
By clicking the Build Button the model binary will be created. At the end of the build process the following messages will appear in the MATLAB® Command window
********************************************************** * Model Build Information: SCALE-RT: 5.1.0 * CodeFrame: 4.0 * Kernel: Linux-2.6.20.14-ipipe * Compiler: 4.1.1xenomai-2.3.1 ********************************************************** ### Created executable: rtm-PI_Controller.o ### Created compressed archiv: PI_Controller.tgz ### Successful completion of Real-Time Workshop build procedure for model:
<your_model_name>
In your MATLAB® working directory a folder with the following name should be generated:
<your_model_name>_SCALE_RT
In this folder you will find the model archive file:
<your_model_name>.tgz
|