From help-request at octave dot org Wed Dec 1 15:30:29 2004 Subject: Re: octave questions From: Peter Jensen To: Ilhem Z CC: help-octave at bevo dot che dot wisc dot edu Date: Wed, 01 Dec 2004 21:30:28 +0000 Ilhem, For small developments is is properly best to have the m files in the current directory. You can then type "functiontest" on the octave command line. To see what directory you are in type "pwd". You will properly be in /octave_files, which is equivalent to c:/Program Files/GNU Octave 2.1.50/octave_files/ if you type cd / you will get to the "root" of the system which is c:/Program Files/GNU Octave 2.1.50/. You can then navigate the directory structure via "cd". Again to see you "options" type "ls". You should see something like : A C octave_files opt tmp A and C are you usual disk drives and may not appear, as they are not automatically created by some windows packages (In particular the newest version 2.1.50. If they do not appear you are effectively prevented from navigating outside the "GNU Octave 2.1.50" directory. In that case put your files under octave_files. If you want to navigate the C drive ask somebody how to create the links to "C" (I can't remember.....). Peter Ilhem Z wrote: > Hi, > I have to work with octave but i installed it on windows XP . > I am writing my functions in a notepad document (" functiontest.m") > for example. > My problem is that i can't source any file '.m' , octave doesn't find > it anywhere and i don't knox how is the syntaxe to call the file path > in order to parse it with 'source'. > (i.e: source "functiontest.m"----> doesn't work) > please could you help me? > thanks a lot. > > ------------------------------------------------------------------------ > Créez gratuitement votre Yahoo! Mail avec *100 Mo de stockage !* > Créez votre Yahoo! Mail > > > *Le nouveau Yahoo! Messenger est arrivé !* Découvrez toutes les > nouveautés pour dialoguer instantanément avec vos amis. > Téléchargez GRATUITEMENT ici ! > ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------