Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 matlab 中,我希望只读取 excel 工作表中的第一行,但不知道工作表中的列数。即我想做相当于
filename = 'myExample.xlsx'; columnB = xlsread(filename,'B:B') .
知道方法将不胜感激。
firstrow = xlsread(filename, '1:1')
应该这样做。