It will do that automatically - just get rid of the range you supplied. It just returns what's there - it doesn't return millions of empty cells. Though sometimes Excel thinks there's stuff there when there isn't (like when you delete cells in the lower right and then do control-end, it will still think they're there).
Xlsread command in Matlab
1 次查看(过去 30 天)
显示 更早的评论
Is there another way to say at the xlsread to do this
matrix=xlsread('1.csv', 'A3:H78')
The problem is tha If I don't Know, a priori, the second corner (H78) and I want to stop it when there is no value in the worksheet, how can I do?
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Logical 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!