vertcat error due to Dimensions of arrays being concatenated are not consistent
Show older comments
Hello,
I am trying to split text in excel file to be in multiple columns. the only problem I am facing with my code is that the dimensions of my arrays are not consistance ( vertcat error ), Is there another function I can use instead of vertcat to avoid such an error ?
thank you
this is how data looks like now

My goal to have the data look like this
My excel file is attached
My code:
clear
clc
x=readcell('DataOutcome.xlsx');
c=x(cellfun(@ischar,x));
split1=regexp(c, '\t', 'split');
bounds=strcat(vertcat(split1{:}))
Accepted Answer
More Answers (0)
Categories
Find more on Data Import from MATLAB in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!