how to load and use data?

sir ,i have an image and i find out a learned dictionary for the image and store it by using "xlswrite".then i find out the sparse of an image and also store it in the same way.now i want to multiply these two "xls" files.when i tried to load them on my command window by using "k=load('name.xls')",it shows an ERROR like"??? Error using ==> load Unknown text on line number 1 of ASCII file C:\Users\kiit\Documents\MATLAB\dict.xls"ÐÏࡱá"."please tell me how to fix it or tell me how to save the "dictionary" and my "matrix" for my further use.PLEASE HELP.THANKS IN ADVANCE.

2 comentarios

Iman Ansari
Iman Ansari el 19 de Mayo de 2013
Editada: Iman Ansari el 19 de Mayo de 2013
doc xlsread
Amith Kamath
Amith Kamath el 20 de Mayo de 2013
Looks like you have special characters in the .XLS file. Double check the contents of the file before loading into MATLAB.

Iniciar sesión para comentar.

Respuestas (1)

Walter Roberson
Walter Roberson el 20 de Mayo de 2013

0 votos

Do not use load() to load .xls files: use xlsread()

Categorías

Más información sobre Data Type Identification en Centro de ayuda y File Exchange.

Productos

Preguntada:

el 19 de Mayo de 2013

Community Treasure Hunt

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

Start Hunting!

Translated by