How do you create a filename and path in MATLAB for the xlswrite function?
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Gwendolyn Shaw
el 22 de Oct. de 2015
Respondida: TastyPastry
el 22 de Oct. de 2015
In Windows 7, I would like have the user create a filename for writing an Excel file. Is there a MATLAB file-gui function for creating a file path?
0 comentarios
Respuesta aceptada
TastyPastry
el 22 de Oct. de 2015
You can use inputdlg() to ask for a string, then append '.xlsx' to the end. If you want to have the user be able to save the file to a different directory, use uiputfile(). There's a good post here which details how to use uiputfile() and xlswrite() to save to a specific directory.
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Environment and Settings en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!