I have a function that returns a cell, but i only need what is stored in that cell saved to D. Is there a nice way of doing this ?
An ugly solution would be:
D = fDurations(I);D = D{1};
Could i do this in a single line ?
cellMATLAB
D = fDurations(I);D = D{1};
Best Answer