bugGNU Octave - Bugs: bug #50594, documentation for startup.m

 
 

bug #50594: documentation for startup.m

Submitter:  Ernst Reissner <ernstreissner>
Submitted:  Mon 20 Mar 2017 01:03:45 PM UTC
   
 
Category:  Documentation Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Documentation
Status:  None Assigned to:  None
Originator Name:  ernstreissner Open/Closed:  * Open
Release:  * dev Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 20 Mar 2017 04:04:04 PM UTC, comment #1: 

It's unclear because we don't propose that people use the startup.m mechanism.  However, if you prepare a documentation patch we would apply it.

There is a command in the sitewide octave-versioned initfile that executes the startup script.


## For Matlab compatibility, run startup.m when starting Octave.
if (exist ("startup", "file"))
  startup;  # No arg list here since startup might be a script.
endif



Rik <rik5>
Group administrator
Mon 20 Mar 2017 01:03:45 PM UTC, original submission:  

According to
https://de.mathworks.com/help/matlab/ref/startup.html,
matlab reads startup.m at startup
searching for startup.m in the search path.
In the manual Section 2.1.2, nothing is told about the location
of startup.m
There should be a word on the location.
Also, it remains unclear in which ordering startup.m is read.
For the rest it is clear: first the site init file octaverc,
then the version init file octavercand then the personal init file ~/.octaverc and finally the session specific file .octaverc
in the current directory.
Unclear is where reading of startup.m fits into this picture.

Ernst Reissner <ernstreissner>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by ernstreissner (Submitted the item)
  • -email is unavailable- added by ernstreissner
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-03-20 rik5 Summarystartup.m documentation for startup.m
    2017-03-20 rik5 CategoryNone Documentation
        Item GroupNone Documentation
    2017-03-20 ernstreissner Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.13-5884.
    Corresponding source code