Hi,
You can try using this command to write your variable Data to an excel file in a specified location tempdir.
xlswrite(fullfile(tempdir, 'sampleData.xlsx'), Data)
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!