The Universities spread sheat in Excel include:
ID & University Name
0 Mechanical Engineering
1 Civil Engineering
filename = 'test.xlsx';
sheet = 'Universities';
xlRange = 'A2:B31';
UniversityNames = xlsread(filename,sheet,xlRange);
but when I display universitynames matrix. I can see ID number but university Name is displayed as 'NaN'
. I need to see names of university in this UniversityNames
matrix. How can I fix this? OS is Windows 10, Excel 2010.