Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

why textscan display just 12 values?

조회 수: 1 (최근 30일)
huda nawaf
huda nawaf 2012년 8월 1일
마감: MATLAB Answer Bot 2021년 8월 20일
hi, I used textscan in this code , the txtfile that I want to read it has 3900 values , why I got just 12 values?
f1=fopen('d:\matlab\r2011a\bin\movielens\1m_mov\movies.txt');
cac = textscan( f1, '%d %s %s' ...
, 'Delimiter' , ':' ...
, 'CollectOutput' , false ...
... , 'EmptyValue' , -999 ...
, 'ExpChars' , '' ...
, 'MultipleDelimsAsOne' , true ...
, 'Whitespace' , '' );
fclose( f1 )
thanks in advance c1=cac{1};c2=cac{2};c3=cac{3};

답변 (0개)

태그

Community Treasure Hunt

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

Start Hunting!

Translated by