How to write a table to a user specified excel file name/directory?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Ibro Tutic
am 5 Apr. 2016
Kommentiert: Ibro Tutic
am 5 Apr. 2016
How would I go about creating a program that writes some arbitrary table, A, to a user specified Excel file? I tried using different UI commands, but I can't seem to get them to work. Essentially what I need is to allow a user to choose where the excel file is written and what the name of the file is.
0 Kommentare
Akzeptierte Antwort
Robert
am 5 Apr. 2016
I believe you want the function uiputfile. It will open a dialog in which the user can select a path and name for a new file. You could use the returned values with writetable to save your data to the new Excel file.
Weitere Antworten (0)
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!