simulink real time task excution time

1 回表示 (過去 30 日間)
metidji
metidji 2019 年 8 月 7 日
コメント済み: Fangjun Jiang 2019 年 8 月 16 日
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?.

回答 (1 件)

Fangjun Jiang
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 件のコメント
metidji
metidji 2019 年 8 月 16 日
simulink real-time
Fangjun Jiang
Fangjun Jiang 2019 年 8 月 16 日
Contact the Mathworks tech support

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeTarget Computer Setup についてさらに検索

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by