How to make 1-D Look-Up Table block run repeatedly

6 ビュー (過去 30 日間)
Viacheslav Solovievskyi
Viacheslav Solovievskyi 2019 年 9 月 18 日
回答済み: Chaitanya Mallela 2020 年 12 月 30 日
Hello everyone,
Now I'm looking for a way to interpretate a time related values as a signal into Simulink. The data is imported from .xml table and each value have a corresponding time value. My problem - that if i use Clock block - it would appear in the simulation only once. I tried to use reminder after devide, but in this case I can't change the time intervals between repeating the signal.
I'd like to know, how can I make 1-D Look-Up Table block run more then one time? My current solution would be attached. Capture.PNG
The constant value - last time data for this set.

回答 (1 件)

Chaitanya Mallela
Chaitanya Mallela 2020 年 12 月 30 日
You can use Counter block before 1-D Look-Up Table block with Reset port enabled. When count reaches maximum value Reset port is enabled which restarts the Counter.

カテゴリ

Help Center および File ExchangeSimulink Functions についてさらに検索

製品


リリース

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by