Real-Time Workshop User's Guide | ![]() ![]() |
Building the Program for Multitasking Execution
To use multitasking execution, select auto
(the default) or multitasking as the mode on the Solver page of the Simulation Parameters dialog box. The Mode menu is only active if you have selected fixed-step as the Solver options type. auto
solver mode will result in a multitasking environment if your model has more than two sample times or it has two different sample times. In particular, a model with a continuous and a discrete sample time will run in singletasking mode if the fixed-step size is equal to the discrete sample time.
![]() | Multitasking and Pseudomultitasking | Singletasking | ![]() |