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

8 views (last 30 days)
Leonardo Wayne
Leonardo Wayne on 15 Mar 2016
Edited: Guillaume on 15 Mar 2016
can anyone give a working example of the syntax above. What does the double underscore do in xlsread?
  1 Comment
dpb
dpb on 15 Mar 2016
There is no such syntax; must be a placeholder in documentation or somesuch. Show the actual expression in context...

Sign in to comment.

Answers (1)

Guillaume
Guillaume on 15 Mar 2016
Edited: Guillaume on 15 Mar 2016
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')

Categories

Find more on MATLAB in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!