[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: portable way to get octave site-dir from command line
From: |
PhilipNienhuis |
Subject: |
Re: portable way to get octave site-dir from command line |
Date: |
Fri, 29 Nov 2013 06:45:53 -0800 (PST) |
xantares wrote
> Hello,
>
> Is there portable way to get the octave site-dir from a command-line (oct
> files installation dir) ?
>
> "octave-config --oct-site-dir" works but I guess octave-config isn't
> available on windows.
>
> May be there is a way by passing a command to the interpreter itself ?
Try "octave_config_info" to see what options you get,. One of them is the
sought-after .oct file dir:
octave_config_info ("octfiledir")
Philip
--
View this message in context:
http://octave.1599824.n4.nabble.com/portable-way-to-get-octave-site-dir-from-command-line-tp4659646p4659648.html
Sent from the Octave - General mailing list archive at Nabble.com.