Changing sample time of multiple blocks at once

Hi, I have a subsystem with many many blocks and I want to change all their sample times from 1 to -1. I was wondering if there's any shortcut to do this?

Risposte (1)

Try Model Explorer. You can use the Model Explorer to make batch changes to many block parameter values at once. You can also write a loop to change the Sample Times of blocks programmatically using set_param.

Categorie

Scopri di più su Simulink in Centro assistenza e File Exchange

Prodotti

Release

R2024a

Richiesto:

il 31 Lug 2024

Risposto:

il 31 Lug 2024

Community Treasure Hunt

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

Start Hunting!

Translated by