Main Content
Asynchronous Support Limitations
Simulink® does not simulate asynchronous task behavior. Although you can specify a task priority for an asynchronous task represented in a model by using the Task Sync block, the priority setting is for code generation purposes only and is not honored during simulation.
To generate code for a model that uses the Function Caller block to call and execute a Simulink or exported Stateflow® function asynchronously, you must set the model configuration parameter System target file to
autosar_adapative.tlc
. For other system target file settings, clear the Function Caller block parameter Execute function call asynchronously.