Group Abstract Group Abstract

Message Boards Message Boards

0
|
5K Views
|
1 Reply
|
0 Total Likes
View groups...
Share
Share this post:

Update notebook after I changed a variable?

Posted 8 years ago
POSTED BY: ha bla

You can mark some cells as "Initialization cells". When you need to re-evaluate them with new values you just choose "Evaluate initialization" from the Evaluation menu. There is also the Dynamic mechanism. If you have

v = 2;
f[x_] := x^2;
Dynamic[f[v]]

and later change the value of v, the output of Dynamic will be updated immediately.

POSTED BY: Gianluca Gorni
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard