Finding Simulink block by sample time
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Benjamin
el 28 de Sept. de 2015
Respondida: goerk
el 28 de Sept. de 2015
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.
0 comentarios
Respuesta aceptada
goerk
el 28 de Sept. de 2015
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 comentarios
Más respuestas (0)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!