Windows package

From Octave
Revision as of 11:44, 6 August 2019 by Lostbard (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The windows package is part of the Octave Forge project and provides a COM interface and additional functionality on Windows

Installation[edit]

Package requirements[edit]

This package requires Octave 3.6 or later.

Octave installation[edit]

The package may already be installed if you are using the mxe-octave based installation of windows.

To verify, from octave commmand line:

>> pkg install list windows 


To install from octave commmand line:

>> pkg install -forge windows

Using it[edit]

Load it before any usage:

>> pkg load windows


Simple example[edit]

This example uses the com interface to display the current directory.

 wshell = actxserver ("WScript.Shell");
 wshell.CurrentDirectory


Documentation[edit]

Documentation and reference for the Windows package is available on Octave forge