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
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Data Import and Export에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!