Installing/loading mathematica packages

  • Context: Mathematica 
  • Thread starter Thread starter Reedeegi
  • Start date Start date
  • Tags Tags
    Mathematica
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
1 reply · 4K views
Reedeegi
Messages
97
Reaction score
0
How is this done? I have Mathematica 7, by the way.
 
Physics news on Phys.org
Hi. First you have to write the package in the correct form, then save it in the packages sub-directory so Mathematica can find it or maybe change the path in Mathematica with one of the directory commands. Then you need to use the command that loads the package in your notebook. That's either << or the "Needs" command. Then just call the functions that you made public in the package.