Import filename while data import
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I want to get the name of the file that I picked in order to import the data to the workspace.
I import my data via the command "cmread" and select the file that I need. If "cmread" ist not able to load the data to the workspace and save the name of the file (for example to a different array) in one step, is there another matlab command to do so?
1 comentario
NISARGA G K
el 8 de Feb. de 2018
Hi Jan,
I understand that, the data and file name have to be imported to workspace when you select the file.
However 'cmRead' does not seem to be a valid MATLAB command.
I hope the 'uigetfile' function would help you get expected functionality for which the link is given below.
https://www.mathworks.com/help/matlab/ref/uigetfile.html?searchHighlight=uigetfile&s_tid=doc_srchtitle
Respuestas (0)
Ver también
Categorías
Más información sobre Workspace Variables and MAT-Files en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!