Importing data columns of unknown length

4 Ansichten (letzte 30 Tage)
Samuel
Samuel am 12 Jun. 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

Antworten (0)

Kategorien

Mehr zu Data Import and Export finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by