MATLAB: How to separate signals that grouped together in single .mat file

seperate signalssingle .mat file

let say i have 3 signals in single .mat file. How can i separate the 3 signals in 3 different plot?

Best Answer

Use the load function with an output argument. This creates a structure, and it is then easy (in most instances) to separate time and signal vectors.
For example:
d = load('my_signals.mat');
t = d.time;
s{1} = d.signal_1;
s{2} = d.signal_2;
and so for the others, depending on the .mat file.