[num,txt,raw] = xlsread(___)
显示 更早的评论
can anyone give a working example of the syntax above. What does the double underscore do in xlsread?
1 个评论
dpb
2016-3-15
There is no such syntax; must be a placeholder in documentation or somesuch. Show the actual expression in context...
回答(1 个)
The ___ in the documentation means that you can replace it with any of the other syntax shown before and is just there for brevity. Basically, you can use the [num, text, raw] output form with any of the input forms:
[num, txt, raw] = xlsread(filename)
[num, txt, raw] = xlsread(filename,sheet)
[num, txt, raw] = xlsread(filename,xlRange)
[num, txt, raw] = xlsread(filename,sheet,xlRange)
[num, txt, raw] = xlsread(filename,sheet,xlRange,'basic')
类别
在 帮助中心 和 File Exchange 中查找有关 Whos 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!