필터 지우기
필터 지우기

importing data from a text file to matlab

조회 수: 1 (최근 30일)
Chathu
Chathu 2014년 12월 8일
댓글: Chathu 2014년 12월 9일
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?

채택된 답변

Sean de Wolski
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
Sean de Wolski 2014년 12월 9일
This is exactly what the Import Tool will let you do if you select column vectors.
Chathu
Chathu 2014년 12월 9일
Great!!! Thank you so much Sean.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by