Simulink how to comb data export to "To Workspace"

1 次查看(过去 30 天)
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,

采纳的回答

Kaustubha Govind
Kaustubha Govind 2012-7-18
Try moving the To Workspace block inside of the Enabled Subsystem.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Schedule Model Components 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by