Using Simulink    

Customizing the Simulink Accelerator Build Process

Typically no customization is necessary for the Simulink Accelerator build process. However, because the Accelerator uses the same underlying mechanisms as the Real-Time Workshop to generate code and build the MEX-file, you can use three parameters to control the build process.

The three options allow you to specify custom Make command, System target, and Template makefiles. Each of these parameters governs a portion of the code generation process. Using these options requires an understanding of how the Real-Time Workshop generates code. For a description of the Make command, the System target file, and Template makefile, see the Real-Time Workshop User's Guide, which is available on the MathWorks Web site, www.mathworks.com, and on the documentation CD provided with MATLAB.

The syntax for setting these parameters is

or

where gcs ("get current system") is the currently active model and 'parameter' is one of the three parameters listed above. Replace 'string' with your string that defines a custom value for that parameter.


  Comparing Performance Controlling S-Function Execution