Simulink to workspace conversion

In simulink, a random signal is applied to a plant model. I wish to have the input data and output data in workspace. I used 'To workspace' block. when I used save format as 'time series' both gave me just one data. When I used 'array', the input is 1000 data and output is 6001. How I can get Input and Output array of same size sampled at the same instant?

 采纳的回答

Azzi Abdelmalek
Azzi Abdelmalek 2014-9-29

0 个投票

In the "to workspace" bloc set the sample time to the same value

更多回答(0 个)

类别

标签

Community Treasure Hunt

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

Start Hunting!

Translated by