MATLAB: How to plot data from a structure with time

plotsstructures

I have a structure with time from my scope in Simulink sent back to Matlab. I am unsure of what script code to use in Matlab to plot the data against time as I see it in the scopes in Simulink.
The structure is called Control_Logic
The signals area as follows.
How do I plot each individual signal vs time? Thanks Kieran

Best Answer

Most likely, this will work:
plot(Control_Logic.time, [Control_Logic.signals.values])
The [Control_Logic.signals.values] concatenates the values field of the 3 signal structures together into a 108350 x 3 matrix (assuming that values is 108350 x 1).