Filter löschen
Filter löschen

Error using xlsread 'No appropriate method, property, ...'

1 Ansicht (letzte 30 Tage)
Christoph Thale
Christoph Thale am 25 Aug. 2016
Kommentiert: Guillaume am 26 Aug. 2016
Hi,
I have MATLAB R2015a and i want to read out a xls excel sheet with matlab. Every time I open it in my code i get this red Error:
_Error using xlsread (line 247)
No appropriate method, property, or field 'FileFormat' for class
'Interface.000208DA_0000_0000_C000_000000000046'._
I already created my own excel sheet but i receive the same error.
Yesterday everything worked fine. Don't why it stucks today.
  10 Kommentare
Christoph Thale
Christoph Thale am 26 Aug. 2016
It is not able to look in the Makro-Code without the password.
Guillaume
Guillaume am 26 Aug. 2016
If the file is in xls format, the password protection is easy to bypass/remove. What I want to look at is the file structure, so the fact that the macros are password protected shouldn't matter.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

KSSV
KSSV am 25 Aug. 2016
I guess problem is with loop... Instead of [num,txt,Messwerte{i}] = xlsread(Pfad,3); use as below
[num,txt,Messwerte1] = xlsread(Pfad,3);
Messwerte{i} = Messwerte1 ;
  1 Kommentar
Guillaume
Guillaume am 25 Aug. 2016
The two different syntaxes are equally valid and will make absolutely no difference to what happens.
This certainly won't resolve any problem.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Data Import from MATLAB finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by