How do I convert data stored in a variable as a matrix to an excel file?
10 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Joe
am 1 Dez. 2014
Beantwortet: Matthew Schneck
am 1 Dez. 2014
I would like to store data generated by MATLAB in a microsoft excel spreadsheet. What is the most efficient way of doing this? I do not want to do them individually by hand.
Thanks
0 Kommentare
Akzeptierte Antwort
Image Analyst
am 1 Dez. 2014
Just call xlswrite
xlswrite(filename, yourMatrix, 'My Results', 'A1');
0 Kommentare
Weitere Antworten (1)
Matthew Schneck
am 1 Dez. 2014
There is a built-in function that can do this for you called 'xlswrite'. It is much better than transcribing numbers by hand.
The syntax for this function is xlswrite(filename, variable_name, sheet).
0 Kommentare
Siehe auch
Kategorien
Mehr zu Spreadsheets finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!