Multitask data transfer
Description
Select the diagnostic action to take if an invalid rate transition occurred between two blocks operating in multitasking mode.
Category: Diagnostics
Settings
Default:
error
warning
Simulink® software displays a warning.
error
Simulink 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.
Command-Line Information
Parameter:
MultiTaskRateTransMsg |
Value:
'warning' | 'error' |
Default:
'error' |
Recommended Settings
Application | Setting |
---|---|
Debugging | No impact |
Traceability | No impact |
Efficiency | No impact |
Safety precaution | error |
Related Topics
- Rate Transition
- Time-Based Scheduling and Code Generation (Simulink Coder)
- Single-Tasking and Multitasking Execution Modes (Simulink Coder)
- Rate Transitions and Data Transfers (Simulink Coder)
- Treat each discrete rate as a separate task
- Diagnosing Simulation Errors
- Model Configuration Parameters: Sample Time Diagnostics