Skip to main content
Tweeted twitter.com/#!/StackMma/status/256999821393670144
remove duplicate link
Source Link

Possible Duplicate:
Save interpolated function

In MATLAB, I can save and recall my own function using an M-File(function or script)
How can I do something similar in Mathematica?

I already searched and know how to define functions and modules like the following:

f[x_]:=Sin[x]+Cos[x] g[x_]:=Module[{a}, a*f[x]] 

When I restart Mathematica, however, my own function is deleted.

Of course, I can save my notebook(.nb) file, but it is just saving my script, not saving my definition of the function.

How can I deal with this problem?

Possible Duplicate:
Save interpolated function

In MATLAB, I can save and recall my own function using an M-File(function or script)
How can I do something similar in Mathematica?

I already searched and know how to define functions and modules like the following:

f[x_]:=Sin[x]+Cos[x] g[x_]:=Module[{a}, a*f[x]] 

When I restart Mathematica, however, my own function is deleted.

Of course, I can save my notebook(.nb) file, but it is just saving my script, not saving my definition of the function.

How can I deal with this problem?

In MATLAB, I can save and recall my own function using an M-File(function or script)
How can I do something similar in Mathematica?

I already searched and know how to define functions and modules like the following:

f[x_]:=Sin[x]+Cos[x] g[x_]:=Module[{a}, a*f[x]] 

When I restart Mathematica, however, my own function is deleted.

Of course, I can save my notebook(.nb) file, but it is just saving my script, not saving my definition of the function.

How can I deal with this problem?

Post Reopened by rm -rf
added 8 characters in body
Source Link
lachis83
  • 1.8k
  • 3
  • 16
  • 9

Possible Duplicate:
Save interpolated function

In MATLAB, I can save and recall my own function using an M-File(function or script) How
How can I do something similar in Mathematica?

I already searched and know how to define functions and modules like the following:

f[x_]:=Sin[x]+Cos[x] g[x_]:=Module[{a}, a*f[x]] 

When I restart Mathematica, however, my own function is deleted.

Of course, I can save my notebook(.nb) file, but it is just saving my script, not saving my definition of the function.

How can I deal with this problem?

Possible Duplicate:
Save interpolated function

In MATLAB, I can save and recall my own function using an M-File(function or script) How can I do something similar in Mathematica?

I already searched and know how to define functions and modules like the following:

f[x_]:=Sin[x]+Cos[x] g[x_]:=Module[{a}, a*f[x]] 

When I restart Mathematica, however, my own function is deleted.

Of course, I can save my notebook(.nb) file, but it is just saving my script, not saving my definition of the function.

How can I deal with this problem?

Possible Duplicate:
Save interpolated function

In MATLAB, I can save and recall my own function using an M-File(function or script)
How can I do something similar in Mathematica?

I already searched and know how to define functions and modules like the following:

f[x_]:=Sin[x]+Cos[x] g[x_]:=Module[{a}, a*f[x]] 

When I restart Mathematica, however, my own function is deleted.

Of course, I can save my notebook(.nb) file, but it is just saving my script, not saving my definition of the function.

How can I deal with this problem?

insert duplicate link
Source Link

Possible Duplicate:
Save interpolated function

In MATLAB, I can save and recall my own function using an M-File(function or script) How can I do something similar in Mathematica?

I already searched and know how to define functions and modules like the following:

f[x_]:=Sin[x]+Cos[x] g[x_]:=Module[{a}, a*f[x]] 

When I restart Mathematica, however, my own function is deleted.

Of course, I can save my notebook(.nb) file, but it is just saving my script, not saving my definition of the function.

How can I deal with this problem?

In MATLAB, I can save and recall my own function using an M-File(function or script) How can I do something similar in Mathematica?

I already searched and know how to define functions and modules like the following:

f[x_]:=Sin[x]+Cos[x] g[x_]:=Module[{a}, a*f[x]] 

When I restart Mathematica, however, my own function is deleted.

Of course, I can save my notebook(.nb) file, but it is just saving my script, not saving my definition of the function.

How can I deal with this problem?

Possible Duplicate:
Save interpolated function

In MATLAB, I can save and recall my own function using an M-File(function or script) How can I do something similar in Mathematica?

I already searched and know how to define functions and modules like the following:

f[x_]:=Sin[x]+Cos[x] g[x_]:=Module[{a}, a*f[x]] 

When I restart Mathematica, however, my own function is deleted.

Of course, I can save my notebook(.nb) file, but it is just saving my script, not saving my definition of the function.

How can I deal with this problem?

Post Closed as "exact duplicate" by Mr.Wizard
deleted 19 characters in body
Source Link
rm -rf
  • 89.8k
  • 21
  • 303
  • 498
Loading
added 1 characters in body
Source Link
lachis83
  • 1.8k
  • 3
  • 16
  • 9
Loading
Source Link
lachis83
  • 1.8k
  • 3
  • 16
  • 9
Loading