| 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 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 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.
The syntax for setting these parameters is
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 | ![]() |
© 1994-2005 The MathWorks, Inc.