Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #11703 > unrolled thread
| Started by | Joug Raw <jougraw@gmail.com> |
|---|---|
| First post | 2012-09-11 06:54 +0000 |
| Last post | 2012-09-11 06:54 +0000 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.soft-sys.math.mathematica
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: Begginer's question: Saving a function for later use Joug Raw <jougraw@gmail.com> - 2012-09-11 06:54 +0000
| From | Joug Raw <jougraw@gmail.com> |
|---|---|
| Date | 2012-09-11 06:54 +0000 |
| Subject | Re: Begginer's question: Saving a function for later use |
| Message-ID | <k2mn68$531$1@smc.vnet.net> |
Hi Pedro, You can save your notebook which contains this function as a .m file then whenever you want call this function, you just type Get["*.m"] or << *.m in your working notebook. Or, you can save it as a notebook and use opennotebook function in your working notebook. Hope this helps. On Mon, Sep 10, 2012 at 10:05 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 > >
Back to top | Article view | comp.soft-sys.math.mathematica
csiph-web