what kind of sample times is allowed in iterator subsystem?

15 ビュー (過去 30 日間)
QiQin Zhan
QiQin Zhan 2015 年 4 月 1 日
回答済み: Archit Dhanani 2019 年 7 月 26 日
I'm using the integrator(1/s) in a for-iterator block, but somehow it comes out an error
'Assem_new2/For Iterator Subsystem/Subsystem14/Integrator3' has sample time [0, 0]. Only constant (inf) or inherited (-1) sample times are allowed in iterator subsystem 'Assem_new2/For Iterator Subsystem'.
But I did not find where to set the sample time for Integrator3
Any smart ideas would be much appreciated!

回答 (1 件)

Archit Dhanani
Archit Dhanani 2019 年 7 月 26 日
The documentation says: The While Iterator Subsystem and For Iterator Subsystem blocks must not contain blocks with continuous states (for example, blocks from the Continuous block library). The sample times of all blocks within the subsystem must be either inherited (-1) or constant (inf).
You can find more information about this in the page below:

カテゴリ

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

製品

Community Treasure Hunt

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

Start Hunting!

Translated by