Hello Phillip,
a) Down below are the additional COM/ActiveX & java tests you requested and
their results.
b) Regarding the script I left running last night: This morning I saw these
final messages in the Octave window. (plus, when I "quit" Octave I saw a flood
of messages fly by, very fast, could not read them). In addition, the output
Excel file that last night was being filled with separate worksheets by the
Matlab code (I recall seeing 5 sheets with data in them)....well today the file
is still there, but it is 0 KB in size and is basically empty. It seems as if
perhaps the closing code wiped it out?
...
warning: concatenation of different character string types may have unintended c
onsequences
warning: concatenation of different character string types may have unintended c
onsequences
warning: implicit conversion from string to real N-d array
warning: implicit conversion from string to real N-d array
warning: implicit conversion from string to real N-d array
warning: implicit conversion from string to real N-d array
warning: implicit conversion from string to real N-d array
warning: implicit conversion from string to real N-d array
ncols = 256
warning: implicit conversion from string to real N-d array
warning: implicit conversion from string to real N-d array
warning: implicit conversion from string to real N-d array
warning: implicit conversion from string to real N-d array
ncols = 1
error: [java] java.lang.OutOfMemoryError: Java heap space
error: called from:
error: C:\Octave\3.2.4_gcc-4.4.0\share\octave\packages\io-1.0.11\xlsclose.m at
line 87, column 4
error: C:\Octave\3.2.4_gcc-4.4.0\share\octave\packages\io-1.0.11\xlswrite.m at
line 160, column 6
error: C:\Octave\MyWorkingScripts\TEST_Matlab_Script.m at line 175, column 1
octave.exe:3>
octave.exe:3>
=======================================================
TESTS: COM/ActiveX, java
=======================================================
GNU Octave, version 3.2.4
Copyright (C) 2009 John W. Eaton and others.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. For details, type `warranty'.
Octave was configured for "i686-pc-mingw32".
Additional information about Octave is available at http://www.octave.org.
Please contribute if you find this software useful.
For more information, visit http://www.octave.org/help-wanted.html
Report bugs to <[email protected]<mailto:[email protected]>> (but first, please read
http://www.octave.org/bugs.html to learn how to write a helpful report).
For information about changes from previous versions, type `news'.
warning: mark_as_command is obsolete and will be removed from a future version o
f Octave
octave.exe:1> ls
Volume in drive C is OS
Volume Serial Number is C260-249D
Directory of C:\Octave\MyWorkingScripts
[.]
[..]
2009 11 23 Calibrated R&B distribution.xls
octave-core
OctaveError_1.jpg
OctaveError_2.jpg
OtherWarningsEtc.txt
Pkg_List.txt
TEST_MATLAB.m
TEST_MATLAB_dynamics.m
TEST_MATLAB_input.xls
TEST_MATLAB_output_10-Aug-2010.xls
TEST_Matlab_Script.m
11 File(s) 389,070 bytes
2 Dir(s) 1,440,118,624,256 bytes free
octave.exe:2> dir
.
..
2009 11 23 Calibrated R&B distribution.xls
OctaveError_1.jpg
OctaveError_2.jpg
OtherWarningsEtc.txt
Pkg_List.txt
TEST_MATLAB.m
TEST_MATLAB_dynamics.m
TEST_MATLAB_input.xls
TEST_MATLAB_output_10-Aug-2010.xls
TEST_Matlab_Script.m
octave-core
octave.exe:3> pwd
ans = C:\Octave\MyWorkingScripts
octave.exe:4> exl = actxserver ('Excel.Application')
error: `actxserver' undefined near line 4 column 7
octave.exe:4>
octave.exe:4>
octave.exe:4> pkg load java
octave.exe:5> exl = actxserver ('Excel.Application')
error: `actxserver' undefined near line 5 column 7
octave.exe:5> pkg load windows
octave.exe:6> exl = actxserver ('Excel.Application')
exl =
<COM object _Application (0x0x89887c)>
octave.exe:7> delete ('exl')
warning: delete: no such file: exl
octave.exe:8> xls1 = xlsopen ('TEST_MATLAB_input.xls', 0, 'com')
Excel/COM interface requested... Excel (COM) OK.
xls1 =
{
xtype = COM
app =
<COM object _Application (0x0x898f84)>
filename = TEST_MATLAB_input.xls
workbook =
<COM object _Workbook (0x0x89920c)>
changed = 0
limits = [](0x0)
}
octave.exe:9> xlsclose (xls1)
ans = [](0x0)
octave.exe:10> delete (exl)
octave.exe:11> tmp = java_new ('java.lang.String', 'abc')
tmp = abc
octave.exe:12> javaclasspath
warning: split is obsolete and will be removed from a future version of Octave;
please use strsplit instead
C:\Octave\3.2.4_gcc-4.4.0\bin\dom4j-1.6.1.jar
C:\Octave\3.2.4_gcc-4.4.0\bin\jOpenDocument-1.2b2.jar
C:\Octave\3.2.4_gcc-4.4.0\bin\jxl.jar
C:\Octave\3.2.4_gcc-4.4.0\bin\odfdom.jar
C:\Octave\3.2.4_gcc-4.4.0\bin\poi-3.6-20091214.jar
C:\Octave\3.2.4_gcc-4.4.0\bin\poi-ooxml-3.6-20091214.jar
C:\Octave\3.2.4_gcc-4.4.0\bin\poi-ooxml-schemas-3.6-20091214.jar
C:\Octave\3.2.4_gcc-4.4.0\bin\xbean.jar
C:\Octave\3.2.4_gcc-4.4.0\bin\xercesImpl.jar
octave.exe:13> xls2 = xlsopen ('TEST_MATLAB_input.xls', 0, 'poi')
Java/Apache POI interface requested... Java/Apache (POI) OK. (& OOXML OK)
xls2 =
{
xtype = POI
app =
<Java object: java.io.FileInputStream>
filename = TEST_MATLAB_input.xls
workbook =
<Java object: org.apache.poi.hssf.usermodel.HSSFWorkbook>
changed = 0
limits = [](0x0)
}
octave.exe:14> xlsclose (xls2)
ans = [](0x0)
octave.exe:15> xls3 = xlsopen ('TEST_MATLAB_input.xls', 0, 'jxl')
Java/JExcelAPI interface requested... Java/JExcelAPI (JXL) OK.
xls3 =
{
xtype = JXL
app =
<Java object: java.io.File>
filename = TEST_MATLAB_input.xls
workbook =
<Java object: jxl.read.biff.WorkbookParser>
changed = 0
limits = [](0x0)
}
octave.exe:16> xlsclose (xls3)
ans = [](0x0)
octave.exe:17>
------------------------------------------------------------------------------
This SF.net email is sponsored by
Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev
_______________________________________________
Octave-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/octave-dev