[Top][All Lists]

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

[Octave-bug-tracker] [bug #53707] mfilename returns empty for filenames

From: Ceral Paquet
Subject: [Octave-bug-tracker] [bug #53707] mfilename returns empty for filenames beginning with period
Date: Fri, 20 Apr 2018 04:52:00 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0


                 Summary: mfilename returns empty for filenames beginning with
                 Project: GNU Octave
            Submitted by: octavebugs
            Submitted on: Fri 20 Apr 2018 08:51:59 AM UTC
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.2.1
        Operating System: GNU/Linux



I like to use the following command in my startup file.

fprintf('Executing startup file: %s\n',mfilename)

Unfortunately mfilename returns empty for the .octaverc file. Would it be
possible to handle the starting period as a special case, i.e. not as an

Note that MATLAB is much more fussy and won't even execute functions with a
starting period.


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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