This question is closed. Reopen it to edit or answer.
How to get Matlab read my char file in excel?
1 view (last 30 days)
Show older comments
I have a list of char in my excel file.
I want to import to my matlab like below:
I had tried below
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
Alex Mcaulley on 10 Apr 2019
Is this that you want?
[~,text,~] = xlsread(filename);
text = char(text);
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!