How to convert a '40*1 double' variable into '40*1 cell' variable?
3 次查看(过去 30 天)
显示 更早的评论
I have to append a new data column into my existing excel sheet. when I tried the method given on matlab answers, I am facing this problem. I have created a 40*1 double variable because data read from my excel sheet is of 40*1 cell. But concatenation fails with error message 'Error using horzcat Dimensions of matrices being concatenated are not consistent.'
2 个评论
Jan
2018-1-28
I do not know, what "when I tried the method given on matlab answers" exactly means. Please post the code. Otherwise " concatenation fails" could have a variety of reasons.
采纳的回答
更多回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Data Import from MATLAB 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!