Stack Exchange Network
Stack Exchange network consists of 181 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Visit Stack Exchange
Mathematica Stack Exchange is a question and answer site for users of Wolfram Mathematica. It only takes a minute to sign up.
Sign up to join this community
Anybody can ask a question
The best answers are voted up and rise to the top
I wanted to ask a simple question. I am new to Mathematica, and I don`t find a way to call user defined functions just as I call Mathematica functions.
I want to use my own defined functions, but call them from different notebooks without including them in each notebook.
Is it possible?
asked Feb 10, 2016 at 17:35
One way to do it is the following. Evaluate in a Mathematica notebook the following
$UserBaseDirectory <> "/Kernel"
Go to the corresponding file and create through Mathematica (if it is not already existing) an init.m file with your definitions e.g.
answered Feb 10, 2016 at 18:00
1,52399 silver badges1313 bronze badges