Multicore Processor Configuration

For better performance on your target computer, you can run multirate real-time applications on multiple cores. Use this capability if your target computer has a multicore processor and you want to take advantage of it for multirate models.

The MulticoreSupport target setting is read-only and set to 'on'.

To build and download multirate models on your multicore target computer:

  1. Open your model in Simulink® Editor.

  2. Add a Rate Transition block to transition between rates.


    Multirate models must use Rate Transition blocks. If your model uses other blocks for rate transitions, building the model generates an error.

  3. Select the Ensure data integrity during data transfer check box of the Rate Transition block parameters.

  4. Clear the Ensure deterministic data transfer (maximum delay) check box of the Rate Transition block parameters. This setting forces the Rate Transition block to use the most recent data available.


    Because this box is cleared, the transferred data can differ from run to run.

  5. Open Model Explorer. In the Simulink Editor, on the Modeling tab, select Model Workspace.

  6. In the Model Hierarchy pane, expand the model node and select the Configurations node.

  7. In the Contents pane, right-click the new configuration and select Open to open the Configuration Parameters dialog box.

  8. In the Configuration Parameters dialog box, select Solver.

  9. Check Allow tasks to execute concurrently on target.

  10. Click Configure Tasks.

See Also

Related Topics