How to plot a Structure with Time?

Hi! I have saved some data from a simulink's scope in a "Structure with Time" variable. I know that to plot the different signals the statement is:
>> plot(VarName.time, [VarName.signals.values])
However I would also like to plot the name of each signal, which is also saved in the variable in VarName.signals.title
Does someone know how to do this?
Thank you for your attention!
Best regards
Fernando Belda

回答(1 个)

类别

帮助中心File Exchange 中查找有关 2-D and 3-D Plots 的更多信息

产品

版本

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by