Matlab - la funcion xlsread no encuentra el archivo de excel

 
Vista:

la funcion xlsread no encuentra el archivo de excel

Publicado por Mariana (1 intervención) el 26/10/2013 04:36:55
hola, tengo el archivo guardado en la carpeta work pero cuando lo llamo con la funcion xlsread me tira los siguientes errores

Skipping 4 formatting runs.
Skipping Unicode formatted stringSkipping 768 formatting runs.
Skipping Unicode formatted string??? File does not contain valid Excel data. Invalid record ID.


Error in ==> C:\MATLAB6p5\toolbox\matlab\iofun\private\biffparse.dll
Error in ==> C:\MATLAB6p5\toolbox\matlab\iofun\xlsread.m
On line 90 ==> [n, s] = biffparse(biffvector, names{1});

Error in ==> C:\MATLAB6p5\work\ejercicio2.m
On line 5 ==> Ctes=xlsread('Datos Laboratorio 1')


y en el script q estoy haciendo ni siquiera hay 90 lineas! sino q la linea 5 donde intento leer el excel es la ultima. espero puedas ayudarme!
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder
Imágen de perfil de JOSE JEREMIAS CABALLERO
Val: 6.975
Oro
Ha mantenido su posición en Matlab (en relación al último mes)
Gráfica de Matlab

la funcion xlsread no encuentra el archivo de excel

Publicado por JOSE JEREMIAS CABALLERO (5917 intervenciones) el 27/10/2013 13:53:43
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
>> help xlsread
 
 XLSREAD read Excel spreadsheet (XLS) file.
    A = XLSREAD('FILENAME') returns in A, numeric data from the first sheet in
    the Excel file FILENAME.
 
    [A, B] = XLSREAD('FILENAME') returns numeric data, stored in A, and text
    data, stored in B.
 
    [...] = XLSREAD('FILENAME','SHEETNAME') is the same as above but uses the
    sheet named SHEETNAME.  XLSREAD throws an error if SHEETNAME does not exist.
 
    Empty cells or cells with text result in NaN elements in the returned numeric
    data.
 
    Leading rows and columns of text do not create NaN elements in the numeric
    result.  This makes it easier to load files that look like this:
 
    Time   Temp
     12      98
     13      99
     14      97
 
    City    Time   Temp
    Dallas   12      98
    Tulsa    13      99
    Boise    14      97
 
    To get available sheet names from file, call XLSFINO with two outputs.
    For example:
 
    [status, sheetNames] = xlsfinfo(FILENAME)
 
    When reading date fields from Excel files, the date numbers need
    conversion to a MATLAB date.  For example, if your Excel file contains:
 
    4/12/99
    4/13/99
    4/14/99
 
    Convert the data to MATLAB dates like this:
 
    excelDates = xlsread(FILENAME)
    matlabDates = datenum('30-Dec-1899') + excelDates
 
    See also LOAD, FILEFORMATS, XLSFINFO, DATENUM, DATEVEC
 
>> dir
 
.           Libro1.xls
..
 
>> xlsread('Libro1.xls')
 
ans =
 
    12
    12
    13
    23
     4
     5
     6
    76
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar