Re: xlsread function undefined

From:

Philip Nienhuis

Subject:

Re: xlsread function undefined

Date:

Wed, 15 Apr 2015 04:05:32 -0700 (PDT)

tmacchant wrote
> --- Marco Magliulo &lt;
> Marco.Magliulo@
> &gt;
>> I would like to import data of .xlsx files and stock them into arrays.
>>
>> To do so, I have learned that I needed to import the IO package, and so I
>> did.
>>
>> However, I do not know what to do with the package.I have stored the
>> io-2.2.7.tar.gz ( I don&#8217;t know if it is normal but io-2.2.6 was
>> already present, maybe I need to get rid of it to avoid conflict) file
>> into the .src folder and run
>> build.package.m as a script in octave.
>>
>> But still, when I call the xlsread function in my scripts, the function
>> xls read is not defined. Maybe I should have done something else. Could
>> you please help me into that matter ?
>>
>> Sorry if the question sounds stupid, I am freshly new
>>
>> Marco Magliul
>
> Did you execute "pkg load io" before xlsread?
>
> You can check whear packages are loaded or not by "pkg list". The loaded
> packages are marked by *.
>
> I want to io package is to be loaded by default, execute "pkg rebuild
> -auto io"
> and restart octave.
>
> Check by "pkg list" that io package is loaded.
Marco already got a similar answer here:
http://octave.1599824.n4.nabble.com/Re-Adding-the-IO-package-tt4669826.html
and cc'd privately to that posting (as he emailed me privately with that
same question).
So I figured "no need to answer again".
Philip
--
View this message in context:
http://octave.1599824.n4.nabble.com/xlsread-function-undefined-tp4669862p4669869.html
Sent from the Octave - General mailing list archive at Nabble.com.