Xlsread command in Matlab

1 vue (au cours des 30 derniers jours)
Francesco
Francesco le 11 Fév 2014
Modifié(e) : Image Analyst le 11 Fév 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?

Réponse acceptée

Image Analyst
Image Analyst le 11 Fév 2014
Modifié(e) : Image Analyst le 11 Fév 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).

Plus de réponses (0)

Catégories

En savoir plus sur Logical dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by