Azzera filtri
Azzera filtri

Importing data columns of unknown length

1 visualizzazione (ultimi 30 giorni)
Samuel
Samuel il 12 Giu 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

Risposte (0)

Categorie

Scopri di più su Data Import and Export in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by