Borrar filtros
Borrar filtros

Import filename while data import

4 visualizaciones (últimos 30 días)
Jan Kielmann
Jan Kielmann el 4 de Feb. de 2018
Comentada: NISARGA G K el 8 de Feb. de 2018
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
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

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Get Started with MATLAB 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!

Translated by