[Top][All Lists]

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

[Octave-bug-tracker] [bug #31080] User scripts or functions created duri

From: J-D Bonjour
Subject: [Octave-bug-tracker] [bug #31080] User scripts or functions created during a session are not found
Date: Sat, 04 Jan 2014 16:31:41 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:26.0) Gecko/20100101 Firefox/26.0

Follow-up Comment #12, bug #31080 (project octave):

Sorry, it doesn't work for me on an NTFS drive (see my session below) ! 
Philip Nienhuis, could you also check, please ?


octave:1> ver

GNU Octave Version 3.8.0
GNU Octave License: GNU General Public License
Operating System: MINGW32_NT-5.1 Windows XP Service Pack 3 i686
% so I'm working on Windows XP with the 3.8.0 Octave bundle
% from http://octave.osuv.de/3.8/windows/octave-3.8.0-1-portable.zip

octave:2> system('chkdsk M: /i')

The type of the file system is NTFS
% so the filesystem of my M: drive *is* NTFS !

octave:3> cd M:octave_test  % going to a sub-directory
octave:4> edit test1.m
% new file, inserting the line: disp('Hello from sub-dir of drive M:')
octave:5> test1

Hello from sub-dir of drive M:
% so on a sub-dir it works allways

octave:6> cd M:   % going to the root of this NTFS drive
octave:7> edit test2.m
% new file, inserting the line: disp('Hello from root of drive M:')
octave:8> ls

[octave_test]  test2.m
% the created script *is* visible, but...

octave:9> type test2.m

error: type: couldn't open '' for reading
error: called from:
error:   ...type.m at line 85, column 9

octave:10> test2

error: 'test2' undefined near line 1 column 1

% *** And now restarting Octave ***
octave:1> cd M:
octave:2> test2

Hello from root of drive M:
% so it works after restarting Octave !

octave:3> type test2.m

test2.m is the user-defined function defined from: M:test2.m
disp('Hello from root of drive M:')

octave:4> edit test2.m
% adding the line: disp('Second line added')
octave:5> test2

Hello from root of drive M:
Second line added


Reply to this item at:


  Message posté via/par Savannah

reply via email to

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