File/Export/Traces calls struct2array(), which does not seem to exist in Matlab 2017b: 