To get the best performance when accelerating your models:
Verify that theConfiguration Parameters dialog box settings are as follows:
Set... | To... |
---|---|
Solver data inconsistency | none |
Array bounds exceeded | none |
Signal storage reuse | selected |
Disable Stateflow®debugging and animation.
When logging large amounts of data (for instance, when using the Workspace I/O, To Workspace, To File, or Scope blocks), use decimation or limit the output to display only the last part of the simulation.
Customize the code generation process to improve simulation speed. For details, seeCustomize the Build Process.
On computers running the Microsoft®Windows®operating system, the Accelerator and Rapid Accelerator modes use the default 64-bit C compiler supplied by MathWorks®to compile your model. If you have a C compiler installed on your PC, you can configure themex
command to use it instead. You might choose to do this if your C compiler produces highly optimized code since this would further improve acceleration.
Note
For an up-to-date list of 32- and 64-bit C compilers that are compatible with MATLAB®software for all supported computing platforms, see:
//www.tatmou.com/support/compilers/current_release/