필터 지우기
필터 지우기

Read text files without for loop

조회 수: 2 (최근 30일)
Kris zenitis
Kris zenitis 2014년 2월 17일
I ve got a cell with names of text files and I want to use textread in order to read all the files. I am trying to do it, without using for loop so I am trying to do something like the following
feature = ones(1,397);
feature = textread(num2str(cell2mat(strcat(outNames(1:end), '.descr'))));
Where outNames a cell with filenames and .descr the extension of the files. My problem is in indexing (1:end). Is it possible to do so, without using for loop, and how?

답변 (0개)

카테고리

Help CenterFile Exchange에서 Logical에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by