MathGroup Archive 2012

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

Search the Archive

Re: Begginer's question: Saving a function for later use


SetDirecrory[your directory]

Save["test.m",test]

to load latter:

<<test.m

2012/9/10 <pedro.roberto at campus.ul.pt>

> Hello,
> I'm just getting started on Mathematica and trying to define a function
> for later use. The function is just:
>
> test[x_]:=x^2
>
> While I don't close mathematica, I can use the function on my notebooks
> but when I close it, the function disappers, I tried to save a .m file with
> it but It didn't work. What do I do?
>
> Thanks for time,
> Pedro
>
>


-- 
Rodrigo



  • Prev by Date: Re: compile fct. using Goto and If (vrs. 8)
  • Next by Date: Eigenvalue and eigenvectors of a 10x10 matrix
  • Previous by thread: Re: Begginer's question: Saving a function for later use
  • Next by thread: Re: Begginer's question: Saving a function for later use