MATLAB: Is there any way to send sevarla variables from simulink to a single workspace variable

simulinkto workspacevariable

I have a signal which is filtered into individual frequency components (1-2Hz, 2-3Hz etc). I would like to send these to a single variable so have 1-2Hz in column 1, 2-3Hz in column 2 … etc.
I have tried entering 'frequency(:,1)' etc in the variable name on the to workspace output but no joy.

Best Answer

Pass your signals through a Mux block, then use a to workspace block
Related Question