Effacer les filtres
Effacer les filtres

Simulink how to comb data export to "To Workspace"

1 vue (au cours des 30 derniers jours)
legendbb
legendbb le 17 Juil 2012
A discrete system with enabled subsystem, I'd like to keep only outputs when the enabled subsystem is enabled.
It's like save signal values on at simulation time [1 3 5 7 9 ...] Or enabled "to workspace". Exclude changing sampling time, since the enable signal can be random.
Source --> Enabled Subsystem --> to workspace
Current model, the "To Workspace" keeps every sample for every sample step. How to make this gated behavior saved.
Please comment,
Thanks,

Réponse acceptée

Kaustubha Govind
Kaustubha Govind le 18 Juil 2012
Try moving the To Workspace block inside of the Enabled Subsystem.
  1 commentaire
legendbb
legendbb le 18 Juil 2012
Bingo, great thanks for your reply. I got it working as expected.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Schedule Model Components dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by