How to read in data in matlab from text files in a folder automatically?

1 次查看(过去 30 天)
Hello,
I have a folder with text files that contains 40 columns with first row containing headers and rest of the rows with various values. I want to write a code in which we select just the folder and matlab read in data from the text files, imports each column as column vector and saves the files with text file name.
Can anyone guide me how to approach this problem to generate the code?
  2 个评论
Image Analyst
Image Analyst 2019-11-7
I imagine he did, using the code from the FAQ, like in the link I gave below. If you need to also, I recommend that you also look in the FAQ instead of waiting who-knows-how-long for Pratik to answer you.

请先登录,再进行评论。

回答(2 个)

Image Analyst
Image Analyst 2018-6-6

Pratik Panchal
Pratik Panchal 2018-6-7
thanks for answering. :)

类别

Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by