IO package: Difference between revisions

Jump to navigation Jump to search
735 bytes added ,  14 August 2014
Line 99: Line 99:


</nowiki></pre>
</nowiki></pre>
An easier way is to collect all required Java class libs fo spreadsheet I/O (the .jar files) in one subdir and have chk_spreadsheet_support .m sort it all out:
<pre><nowiki>
octave:8>  chk_spreadsheet_support ('/full/path/to/subdir/with/.jar/files')
</nowiki></pre>
For UNO (LibreOffice-behind-the-scenes) the call is a bit different:
<pre><nowiki>
octave:8>  chk_spreadsheet_support ('', 0, '/full/path/to/LibreOffice/installation')
</nowiki></pre>
On Windows, the io package tries to automatically find all required Java class libs and LibreOffice. To help it, put the Java class libs in you user profile (home directory) in a subdir "java", e.g., C:\Users\Eddy\java. chk_spreadsheet_support searches that location automagically.


The chk_spreadsheet_support output should be now > 0.
The chk_spreadsheet_support output should be now > 0.
99

edits

Navigation menu