Difference between revisions of "Windows package"
Jump to navigation
Jump to search
(Created page with "The {{Forge|windows}} package is part of the Octave Forge project and provides a COM interface and additional functionality on Windows = Installation = == package require...") |
|||
(2 intermediate revisions by one other user not shown) | |||
Line 2: | Line 2: | ||
= Installation = | = Installation = | ||
− | == | + | == Package requirements == |
This package requires Octave 3.6 or later. | 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. | The package may already be installed if you are using the mxe-octave based installation of windows. | ||
− | To verify, from octave | + | To verify, from octave command line: |
>> pkg install list windows | >> pkg install list windows | ||
− | To install from octave | + | To install from octave command line: |
− | >> pkg | + | >> pkg -forge install windows |
= Using it = | = Using it = | ||
Line 23: | Line 23: | ||
>> pkg load windows | >> 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 [https://octave.sourceforge.io/windows/overview.html Octave forge] | ||
+ | |||
+ | [[Category:Octave Forge]] |
Latest revision as of 14: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[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 command line:
>> pkg install list windows
To install from octave command line:
>> pkg -forge install 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