From: darthshak on
Ok, never mind, I figured it out.

I first pre-allocated the structure with empty matrices for 'signals' and 'time' and an initialized cell array for 'phase_inds'. This created multiple copies of only the empty 'signals' and 'time' arrays.

I then stored all the data in only the first instance of the 'signal_set' structure.