[num,txt,raw] = xlsread(___)

6 次查看(过去 30 天)
Leonardo Wayne
Leonardo Wayne 2016-3-15
编辑: Guillaume 2016-3-15
can anyone give a working example of the syntax above. What does the double underscore do in xlsread?
  1 个评论
dpb
dpb 2016-3-15
There is no such syntax; must be a placeholder in documentation or somesuch. Show the actual expression in context...

请先登录,再进行评论。

回答(1 个)

Guillaume
Guillaume 2016-3-15
编辑:Guillaume 2016-3-15
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')

类别

Help CenterFile Exchange 中查找有关 MATLAB 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by