Info
La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.
How to get Matlab read my char file in excel?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
I have a list of char in my excel file.
I want to import to my matlab like below:
I had tried below
y=csvread('test10042019.csv');
x=dlmread('test10042019_char.csv');
But is not working
>> x=dlmread('test10042019_char.csv',' ', 1,0);
Error using dlmread (line 143)
Mismatch between file and format string.
Trouble reading 'Numeric' field from file (row number 1, field
number 1) ==> ,\n
THank you.
1 comentario
Respuestas (1)
Alex Mcaulley
el 10 de Abr. de 2019
Is this that you want?
[~,text,~] = xlsread(filename);
text = char(text);
0 comentarios
La pregunta está cerrada.
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!