Creating a mask/dialog of a subsystem and setting sample time for all components within
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Adam Keller
am 29 Mai 2015
Beantwortet: Sebastian Castro
am 29 Mai 2015
I have a subsystem that contains a discrete filter block(with various inputs), how can I make my mask/dialog for my subsystem that will set the sample time for the discrete filter within the block?
0 Kommentare
Akzeptierte Antwort
Sebastian Castro
am 29 Mai 2015
You can create a mask variable (for example, Ts ) that users can enter in the dialog box.
Then, inside the masked subsystem, you can set the sample time of the filter block to that variable Ts.
You can see how this all looks if you drag in a Discrete PID Controller block, for instance, right-click it, and select Mask > Look Under Mask.
- Sebastian
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Author Block Masks finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!