news:jktgcq$m80$1...@newscl01ah.mathworks.com...
>> When running XLSREAD on a machine that is not a Windows machine with
>> Microsoft Excel installed, XLSREAD will operate in "basic mode":
>>
>>
http://www.mathworks.com/help/techdoc/ref/xlsread.html
>>
>> "[num,txt,raw] = xlsread(filename,sheet,range,'basic') reads data from
>> the spreadsheet in basic mode, the default on systems without Excel for
>> Windows."
>>
>> Basic mode has some limitations, as described in the Input Arguments
>> section of that documentation, and it appears you were trying to do
>> something that exceeded the capabilities of basic mode.
>>
>
> Right...I remember it saying something about "basic mode" too, but it
> still gave the errors.
If you show the group a small section of your code and explain specifically
what you're trying to do, perhaps someone will have some suggestions for how
to do what you want in such a way that you don't run into the basic mode
limitations.
>> > I don't really understand this COM server stuff at all? Is there a COM
>> > server method for accessing open-source office spreadsheets?
>>
>> If the program offers a COM interface, yes, but a quick glance at the
>> LibreOffice website didn't indicate that it had such an interface.
>
> OK, thanks. I guess that is about as close to an answer as I can get,
> since you work at TMW. Do you know whether there is any way to resolve
> this problem other than bowing down to the almighty Microsoft Office? I
> would definitely like to see support for an open office suite, like Libre.
Having a function to read in LibreOffice spreadsheets sounds like a
reasonable enhancement request to make to Technical Support. Let them know
the type of functionality you'd like to see included in such a function, so
they can capture it in the enhancement database and give the developers
guidance when or if they decide to implement this feature. [Enhancement
requests like this tend to carry more weight from users.]
Another approach you could take would be to ask the LibreOffice developers
for an enhancement, a COM interface to their software on Windows. If they
implemented such an interface, you could use the COM interface functionality
in MATLAB to interact with LibreOffice in the same way that the COM
interface functionality allows users to interact with the COM interface
provided by Microsoft Excel.
http://www.mathworks.com/help/techdoc/matlab_external/brd4at8.html
http://www.mathworks.com/help/techdoc/matlab_external/bqdwu3j.html#bqd_o32