Windows package: Difference between revisions

From Octave
Jump to navigation Jump to search
No edit summary
Line 9: Line 9:
The package may already be installed if you are using the mxe-octave based installation of windows.
The package may already be installed if you are using the mxe-octave based installation of windows.


To verify, from octave commmand line:
To verify, from octave command line:


  >> pkg install list windows  
  >> pkg install list windows  




To install from octave commmand line:
To install from octave command line:


  >> pkg install -forge windows
  >> pkg -forge install windows


= Using it =
= Using it =

Revision as of 18:06, 24 March 2020

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

Installation

Package requirements

This package requires Octave 3.6 or later.

Octave installation

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

To verify, from octave command line:

>> pkg install list windows 


To install from octave command line:

>> pkg -forge install windows

Using it

Load it before any usage:

>> pkg load windows


Simple example

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

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


Documentation

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