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

19 vues (au cours des 30 derniers jours)
Leonardo Wayne
Leonardo Wayne le 15 Mar 2016
Modifié(e) : Guillaume le 15 Mar 2016
can anyone give a working example of the syntax above. What does the double underscore do in xlsread?
  1 commentaire
dpb
dpb le 15 Mar 2016
There is no such syntax; must be a placeholder in documentation or somesuch. Show the actual expression in context...

Connectez-vous pour commenter.

Réponses (1)

Guillaume
Guillaume le 15 Mar 2016
Modifié(e) : Guillaume le 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')

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by