help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Difference between EXEC_PATH() and path()


From: Ben Abbott
Subject: Re: Difference between EXEC_PATH() and path()
Date: Mon, 18 Jun 2012 14:48:16 -0400

On Jun 18, 2012, at 1:27 PM, Jonathan Margoliash wrote:

> Hello octave support,
> 
> What is the difference between the EXEC_PATH() and the path() functions? 
> Also, what is the way to tell if a single word like 'path' refers to a 
> function call in command syntax with no parameters (the equivalent of path()) 
> or is a variable name? Thanks,
> 
> Jonathan

The EXEC_PATH is the shell path, and path() is Octave's path to its m-files, 
oct-file, and mex-files.

To determine if "path" is a variable name, use isvarname().

Ben




reply via email to

[Prev in Thread] Current Thread [Next in Thread]