MATLAB: Simulink to workspace conversion

MATLABsimulink

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?

Best Answer

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