simulink real time task excution time
2 次查看(过去 30 天)
显示 更早的评论
why the maximum task execution time is very importante vs avrage task execut time in simulink real time? what is happened in this case to take all this time to excute the same task?.
0 个评论
回答(1 个)
Fangjun Jiang
2019-8-7
In your task, you might have some conditional statements. If the condition is met, certain codes or blocks are executed thus take longer time to finish than when the condition is not met. To ensure your task is able to execute in "real time" continuesly, you need to make sure the maximum task execution time is smaller than the step time of the task. In other words, you can only slow down (by puasing or inserting delay), but you can't speed up to make "real time".
6 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Target Computer Setup 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!