importing data from a text file to matlab
조회 수: 1 (최근 30일)
이전 댓글 표시
I want to import data from a text file folder(which has several files within it) to matlab workspace. Suppose my one file consist of 3-4 columns and i want to label each column into a separate array. Any suggestions?
댓글 수: 0
채택된 답변
Sean de Wolski
2014년 12월 8일
Right click on the file and select "Import Data". Then select the data you want and import it. If you want to automate this, click the down arrow under the import check box and generate a script or a function.
댓글 수: 3
Sean de Wolski
2014년 12월 9일
This is exactly what the Import Tool will let you do if you select column vectors.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/180366/image.png)
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!