Finding Simulink block by sample time

2 ビュー (過去 30 日間)
Benjamin
Benjamin 2015 年 9 月 28 日
回答済み: goerk 2015 年 9 月 28 日
I would like to search a block in Simulink by sample time. Meaning, some signals having INF as sample time, and I would like to change them, but I need to find them in the model first.

採用された回答

goerk
goerk 2015 年 9 月 28 日
try this:
find_system(gcs, 'FindAll', 'on', 'SampleTime', 'inf')
where gcs means get current system and could also be replaced with the model name.

その他の回答 (0 件)

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by