Xlsread command in Matlab

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?

 采纳的回答

Image Analyst
Image Analyst 2014-2-11
编辑:Image Analyst 2014-2-11

0 个投票

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).

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 Logical 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by