support upload of .xls files
I tried uploading some Matrix1.xls file, then with
M1=xlsread('Matrix1.xls')
I get:
error: xlsopen.m: file Matrix1.xls not found
Hi Victor,
I’ve been playing around with this for a couple of hours and it looks like XLS support in Octave is patchy at best. I am going to keep this idea open, and if it receives more votes, we’ll look into a way to add support for native XLS files.
In the mean time, I recommend saving your spreadsheet in the CSV file format and using the “csv2cell” function.
-
Victor commented
Hi Shane,
thank you for looking into this. I did not know about CSV files, so definitely I will try it.
What I found, before your advice, is to copy the XLS column into .m file, and then use a combination of 'fgetl' and 'str2double' to read the values into a vector.