Editing IO package

Jump to navigation Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 570: Line 570:
#:exl = actxserver ('Excel.Application') ## Note the period between 'Excel' and 'Application'
#:exl = actxserver ('Excel.Application') ## Note the period between 'Excel' and 'Application'
##If a COM object is returned, ActiveX / COM / Excel works. Do:
##If a COM object is returned, ActiveX / COM / Excel works. Do:
##:<pre>exl.Quit(); delete (exl) ## to shut down the (hidden) Excel invocation.</pre>
##: exl.Quit(); delete (exl) ## to shut down the (hidden) Excel invocation.
##If you get an error message, your last resort is re-installing the windows package, or trying the Java-based interfaces.
##If you get an error message, your last resort is re-installing the windows package, or trying the Java-based interfaces.
#Check if java works. Do a ''pkg list'' and see:
#Check if java works. Do a ''pkg list'' and see:
Line 576: Line 576:
##If there's an asterisk on the java package line (then the package is loaded). If not, do a pkg rebuild -auto java
##If there's an asterisk on the java package line (then the package is loaded). If not, do a pkg rebuild -auto java
#Check Java memory settings. Try
#Check Java memory settings. Try
#:<pre>javamem</pre>
#:javamem
##If it works, check if it reports sufficiently large max memory (had better be 200 MiB, the bigger the better)
##If it works, check if it reports sufficiently large max memory (had better be 200 MiB, the bigger the better)
##If it doesn't work, do:
##If it doesn't work, do:
##:<pre>
##:rt = java_invoke ('java.lang.Runtime', 'getRuntime')
##:rt = java_invoke ('java.lang.Runtime', 'getRuntime')
##:rt.gc
##:rt.gc
##:rt.maxMemory ().doubleValue () / 1024 / 1024 ## show MaxMemory in MiB.</pre>
##:rt.maxMemory ().doubleValue () / 1024 / 1024 ## show MaxMemory in MiB.
##In case you have insufficient memory, see in "GOTCHAS", "Java memory pool allocation size", how to increase java's memory pre-reservation.
##In case you have insufficient memory, see in "GOTCHAS", "Java memory pool allocation size", how to increase java's memory pre-reservation.
#Check if all classes (.jarfiles) are in class path. Do a 'javaclasspath' (under unix/linux, do 'tmp = javaclasspath; strsplit (tmp,":")' (w/o quotes). See above under "REQUIRED SUPPORT SOFTWARE" what classes should be mentioned.
#Check if all classes (.jarfiles) are in class path. Do a 'javaclasspath' (under unix/linux, do 'tmp = javaclasspath; strsplit (tmp,":")' (w/o quotes). See above under "REQUIRED SUPPORT SOFTWARE" what classes should be mentioned.
Please note that all contributions to Octave may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Octave:Copyrights for details). Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)

Template used on this page: