export from matlab to excel
6 views (last 30 days)
Show older comments
sir help me about the commad how can i export my result in to the excel file.
stozaki on 1 Feb 2020
Edited: stozaki on 1 Feb 2020
You can use writematrix or xlswrite.
Please see following URL.
R2019a or later : writematrix
M = magic(5)
R2018b or earlier : xlswrite
filename = 'testdata.xlsx';
A = [12.7 5.02 -98 63.9 0 -.2 56];
Image Analyst on 1 Feb 2020
Are you 100% sure you have Excel installed? Perhaps that might cause a problem.
If you don't have Excel on that computer, use csvwrite() to write a CSV file, which can be opened by WordPad.
Why are you not upgrading to R2019b, where you can get writecell()? It's much, much faster in my experience than xlswrite().
Chaudhary P Patel on 2 Feb 2020
Find more on Spreadsheets in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!