Xlsread command in Matlab

1 view (last 30 days)
Francesco
Francesco on 11 Feb 2014
Edited: Image Analyst on 11 Feb 2014
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?

Accepted Answer

Image Analyst
Image Analyst on 11 Feb 2014
Edited: Image Analyst on 11 Feb 2014
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).

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!