help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: problem with odswrite (and similar) function


From: PhilipNienhuis
Subject: Re: problem with odswrite (and similar) function
Date: Sat, 2 Aug 2014 10:52:22 -0700 (PDT)

umbe1987 wrote
> dear all
> 
> I have installed octave 3.8.1 on ubuntu 12.04.
> I'd like to use the functionalities offered by the 'odswrite' function,
> but cannot get it to work.
> First, I saw there is no 'odswrite' function in my /m/io folder.
> So I downloaded the package and install it with:
>     pkg install io-2.2.2.tar.gz
> This seems to have created a new folder ('/home/umberto/octave'), with the
> io package and the functions I need. Nevertheless, it is not in the path,
> so I would have to add it with the addpath and savepath commands.
> Once this is done, I still have some problems:
> 
> 1) When I reload octave the added path is not loaded at startup (which I
> thought to be ok as I used the savepath command)
> 
> 2) If I (for instance) use the 'odswrite' function (e.g. with a numeric
> vector A), it outputs the following error.
> 
> octave:6> odswrite ('prova01.ods', A)
> Creating file prova01.ods
> Detected ODS interfaces: warning: 
> Not all required classes (.jar) in classpath for OTK
> warning: 
> Not all required classes (.jar) in classpath for JOD
> warning: 
> One or more UNO classes (.jar) missing in javaclasspath
> error: '__char2num__' undefined near line 52 column 10
> error: called from:
> error:   /home/umberto/octave/io-2.2.2/private/parse_sp_range.m at line
> 52, column 8
> error:   /home/umberto/octave/io-2.2.2/private/__OCT_oct2spsh__.m at line
> 31, column 18
> error:   /home/umberto/octave/io-2.2.2/oct2ods.m at line 211, column 18
> error:   /home/umberto/octave/io-2.2.2/odswrite.m at line 118, column 18
> 
> Can anybody help me getting out of this? Any help would be really
> appreciated.

In the io package folder there should be a subdir doc/ containing 2 files in
html format. Please read the one pertaining to ods first and then come back
if you have questions left.
As I'm on vacation with patchy time for Octave I cannot answer right away,
hopefully someone else can help.

Philip



--
View this message in context: 
http://octave.1599824.n4.nabble.com/problem-with-odswrite-and-similar-function-tp4665887p4665893.html
Sent from the Octave - General mailing list archive at Nabble.com.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]