Borrar filtros
Borrar filtros

importing data from a text file to matlab

1 visualización (últimos 30 días)
Chathu
Chathu el 8 de Dic. de 2014
Comentada: Chathu el 9 de Dic. de 2014
I want to import data from a text file folder(which has several files within it) to matlab workspace. Suppose my one file consist of 3-4 columns and i want to label each column into a separate array. Any suggestions?

Respuesta aceptada

Sean de Wolski
Sean de Wolski el 8 de Dic. de 2014
Right click on the file and select "Import Data". Then select the data you want and import it. If you want to automate this, click the down arrow under the import check box and generate a script or a function.
  3 comentarios
Sean de Wolski
Sean de Wolski el 9 de Dic. de 2014
This is exactly what the Import Tool will let you do if you select column vectors.
Chathu
Chathu el 9 de Dic. de 2014
Great!!! Thank you so much Sean.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Get Started with MATLAB en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by