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 CenterFile Exchange에서 Modeling에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by