MATLAB Answers

How to solve readcell 1x1 missing ?

22 views (last 30 days)
I am using readcell command in order to read a file. But some numbers/data in columns show 1x1 missing. How could I solve this problem?
I ve tried
but no use.
Could you please help me?
Ivan Mich
Ivan Mich on 21 Feb 2021
Ok , what to do then in order to separate my problem?

Sign in to comment.

Accepted Answer

Walter Roberson
Walter Roberson on 21 Feb 2021
data = readtable('input.txt', 'readvariablenames', false);
rmdata = rmmissing(data);
y = table2cell(rmdata);

More Answers (0)

Community Treasure Hunt

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

Start Hunting!