Borrar filtros
Borrar filtros

Importing data columns of unknown length

1 visualización (últimos 30 días)
Samuel
Samuel el 12 de Jun. de 2012
Hi all,
First off, R2011a. If there is an answer to this question already, I have not been able to find it (I'm probably searching for the wrong thing). I want to perform the same action as when you right click on a text file in the directory and import it using the wizard, setting up a vector for each column header. For example, from the following text document,
I want 3 vectors; Sweeps, Strain, and Temperature. I want to use the same script for multiple files, performing several calculations, plotting, etc. However, each file may have a different number of rows. I have used the uiimport, but I would like to set up something that requires nothing but hitting F5.
Thanks for any input and let me know if anything else is needed.
Sam

Respuestas (0)

Categorías

Más información sobre Data Import and Export 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