Quantcast
Channel: MATLAB Central Newsreader Recent Posts
Viewing all articles
Browse latest Browse all 19628

xlsread column starting with NaN

$
0
0
Hi, I'm having a dimension issue while importing from excel columns that start with NaN.

Range B2:B6 in the xls file is:
NaN
NaN
NaN
123
678


ZZ= xlsread('file1','Sheet1','B2:B6')

ZZ =

    123
    678


It ouputs a 2x1 while I need the entire 5x1.

Is there a way to import the whole range for columns that start with NaN?

Thanks

Viewing all articles
Browse latest Browse all 19628

Trending Articles