Importing data columns of unknown length

1 次查看(过去 30 天)
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

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Data Import and Export 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by