Borrar filtros
Borrar filtros

Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

why textscan display just 12 values?

1 visualización (últimos 30 días)
huda nawaf
huda nawaf el 1 de Ag. de 2012
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
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};

Respuestas (0)

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by