octave-bug-tracker
[Top][All Lists]
Advanced

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

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


From: Silvestre
Subject: [Octave-bug-tracker] [bug #31080] User scripts or functions created during a session on Windows are not found
Date: Fri, 29 Oct 2021 08:27:44 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.54 Safari/537.36 Edg/95.0.1020.30

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


I have logged in from the beginning......


------------------------------------------------------------------------

GNU Octave, version 6.3.0
Copyright (C) 2021 The Octave Project Developers.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.  For details, type 'warranty'.

Octave was configured for "x86_64-w64-mingw32".

Additional information about Octave is available at https://www.octave.org.

Please contribute if you find this software useful.
For more information, visit https://www.octave.org/get-involved.html

Read https://www.octave.org/bugs.html to learn how to submit bug reports.
For information about changes from previous versions, type 'news'.

>> dir
.   ..
>> edit test1.m
>> dir
.        ..       test1.m
>> test1
error: 'test1' undefined near line 1, column 1
>> type test1.m
error: type: couldn't open '' for reading
error: called from
    type at line 92 column 9
>> path(path());
>> type test1.m
test1.m is the user-defined function defined from: D:\test\test1.m

format long
which test1
stat('.')
fclose(fopen('test1.m', 'w'));
stat('.')
which test1

>> test1
'test1' is a script from the file D:\test\test1.m
ans =

  scalar structure containing the fields:

    dev = 3
    ino = 0
    mode = 16895
    modestr = drwxrwxrwx
    nlink = 1
    uid = 0
    gid = 0
    rdev = 3
    size = 0
    atime = 1635509742
    mtime = 1635509742
    ctime = 1635509742
    blksize = NaN
    blocks = NaN

ans =

  scalar structure containing the fields:

    dev = 3
    ino = 0
    mode = 16895
    modestr = drwxrwxrwx
    nlink = 1
    uid = 0
    gid = 0
    rdev = 3
    size = 0
    atime = 1635509742
    mtime = 1635509742
    ctime = 1635509742
    blksize = NaN
    blocks = NaN

'test1' is a script from the file D:\test\test1.m
>> type test1.m
test1.m is the user-defined function defined from: D:\test\test1.m

 

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?31080>

_______________________________________________
  Mensaje enviado vía Savannah
  https://savannah.gnu.org/




reply via email to

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