MathGroup Archive 2011

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Custom Autoloaded Functions

  • To: mathgroup at
  • Subject: [mg116937] Re: Custom Autoloaded Functions
  • From: Peter Breitfeld <phbrf at>
  • Date: Sat, 5 Mar 2011 06:05:12 -0500 (EST)
  • References: <ikq8gi$7vc$>

Just A Stranger wrote:

> If I have a function I wrote that I use often, is there a way to write 
> that function in a file that loads it autotmatically every time I start 
> a new notebook session? What is the best way to go about this?

Put your function(s) into a package e.g. myfuncs.m

Then open $UserBaseDirectory/Kernel/init.m and append the line


Peter Breitfeld, Bad Saulgau, Germany --

  • Prev by Date: Re: evaluation-- one or many levels, your thoughts?
  • Next by Date: Using the compiled libraries (dll) outside mathematica
  • Previous by thread: Re: Custom Autoloaded Functions
  • Next by thread: Mathematica inside Excel VBA Macro