Navigation

Operators and Keywords

Function List:

C++ API

pathdef.m File Reference


Functions

 if (exist(user_octaverc,"file")) user_path
endif if (!isempty(user_path)) val
 elseif (!isempty(site_path)) val

Variables

function val
 site_octaverc = fullfile (pathdir, "octaverc")
 user_octaverc = fullfile ("~", ".octaverc")
 site_path = __extractpath__ (site_octaverc)
else user_path = ""

Function Documentation

elseif ( isemptysite_path  ) 

endif if ( isemptyuser_path  ) 

if ( exist(user_octaverc,"file")   ) 


Variable Documentation

site_octaverc = fullfile (pathdir, "octaverc")

site_path = __extractpath__ (site_octaverc)

user_octaverc = fullfile ("~", ".octaverc")

Initial value:

 pathdef ()


  pathdir = octave_config_info ("localstartupfiledir")