[Top][All Lists]

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

problem with odswrite (and similar) function

From: umbe1987
Subject: problem with odswrite (and similar) function
Date: Sat, 2 Aug 2014 06:12:47 -0700 (PDT)

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
Not all required classes (.jar) in classpath for JOD
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

View this message in context:
Sent from the Octave - General mailing list archive at

reply via email to

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