Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #11722

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

From Rodrigo AP <digorna@gmail.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Begginer's question: Saving a function for later use
Date 2012-09-13 07:41 +0000
Message-ID <k2s2np$dph$1@smc.vnet.net> (permalink)
References <20120910080540.BEE556843@smc.vnet.net>
Organization Time-Warner Telecom

Show all headers | View raw


SetDirecrory[your directory]

Save["test.m",test]

to load latter:

<<test.m

2012/9/10 <pedro.roberto@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

Back to comp.soft-sys.math.mathematica | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Re: Begginer's question: Saving a function for later use Rodrigo AP <digorna@gmail.com> - 2012-09-13 07:41 +0000
  Re: Begginer's question: Saving a function for later use David Bailey <dave@removedbailey.co.uk> - 2012-09-14 04:15 +0000

csiph-web