Multitask data transfer
Diagnostic action to take for unspecified data transfers between tasks
Model Configuration Pane: Diagnostics / Sample Time
Description
The Multitask data transfer parameter specifies the diagnostic action to take if an invalid rate transition occurred between two blocks operating in multitasking mode.
Settings
warningSimulink® software displays a warning.
errorSimulink software terminates the simulation and displays an error message.
Tips
This parameter allows you to adjust error checking for sample rate transitions between blocks that operate at different sample rates.
Use this option for models of real-time multitasking systems to ensure detection of illegal rate transitions between tasks that can result in a task's output being unavailable when needed by another task. You can then use Rate Transition blocks to eliminate such illegal rate transitions from the model.
Recommended Settings
| Application | Setting |
|---|---|
| Debugging | No impact |
| Traceability | No impact |
| Efficiency | No impact |
| Safety precaution | error |
Programmatic Use
Parameter: MultiTaskRateTransMsg |
Value: "warning" | "error" |
Default: "error" |
Version History
Introduced in R2006a
See Also
Topics
- Rate Transition
- Time-Based Scheduling and Code Generation (Simulink Coder)
- Single-Tasking and Multitasking Execution Modes (Simulink Coder)
- Data Transfer Representation and Processing (Simulink Coder)
- Treat each discrete rate as a separate task
- Diagnosing Simulation Errors
- Model Configuration Parameters: Sample Time Diagnostics