Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #11698 > unrolled thread
| Started by | pedro.roberto@campus.ul.pt |
|---|---|
| First post | 2012-09-10 08:25 +0000 |
| Last post | 2012-09-11 07:10 +0000 |
| Articles | 2 — 2 participants |
Back to article view | Back to comp.soft-sys.math.mathematica
Begginer's question: Saving a function for later use pedro.roberto@campus.ul.pt - 2012-09-10 08:25 +0000
Re: Begginer's question: Saving a function for later use "Nasser M. Abbasi" <nma@12000.org> - 2012-09-11 07:10 +0000
| From | pedro.roberto@campus.ul.pt |
|---|---|
| Date | 2012-09-10 08:25 +0000 |
| Subject | Begginer's question: Saving a function for later use |
| Message-ID | <k2k85s$16k$1@smc.vnet.net> |
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
[toc] | [next] | [standalone]
| From | "Nasser M. Abbasi" <nma@12000.org> |
|---|---|
| Date | 2012-09-11 07:10 +0000 |
| Message-ID | <k2mo4n$551$1@smc.vnet.net> |
| In reply to | #11698 |
On 9/10/2012 3:25 AM, pedro.roberto@campus.ul.pt wrote: > 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 > Just save the notebook. It will have extension .nb File->Save As-> foo.nb Then when you open foo.nb again, the function will be there. --Nasser
[toc] | [prev] | [standalone]
Back to top | Article view | comp.soft-sys.math.mathematica
csiph-web