フィルターのクリア

simulink source that follows a sequence until it reaches a constant value

1 回表示 (過去 30 日間)
Leo Rogers
Leo Rogers 2023 年 3 月 29 日
コメント済み: Leo Rogers 2023 年 3 月 29 日
Hey all, a maybe complicated question, I was wondering how to create a source like a repeating sequence in simulink, but instead of repeating, outputs at the arrays steady state value after the end of the source array until the end of the simulation.
I cant think of a simple way to do this, im guessing it might involve a matlab function block, any help is appreciated. Thanks!

採用された回答

Fangjun Jiang
Fangjun Jiang 2023 年 3 月 29 日
編集済み: Fangjun Jiang 2023 年 3 月 29 日
You have the arry of time-value pairs. Use them in a 1-D lookup table. Use the simulation clock as the input, specify "Clip" for "Extrapolation method:" and specify "Use last table value ...'.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeGeneral Applications についてさらに検索

製品


リリース

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by