0
$\begingroup$

I'm new in Mathematica and I am working with various notebooks. My problem is that when I run a notebook, it seems taking definitions from the previous notebook. For example in 'notebook1' I make an approximation like E=M, and when I run the second notebook it takes also the approximation instead I don't want it to do it. I've tried commands like 'Clear' or 'ClearAll' but I can't get through. Can anybody help me? Thanks

$\endgroup$
  • $\begingroup$ ClearAll[var]? $\endgroup$ – Öskå Jun 26 '14 at 10:40
  • $\begingroup$ I've tried ClearAll[var], but it seems not working...Maybe could be something like the evaluation context? thanks $\endgroup$ – user25578 Jun 26 '14 at 10:42
  • $\begingroup$ Well, you can still quit the kernel or in the menu /evaluation/Notebook's Default Context/Unique to This Context $\endgroup$ – Öskå Jun 26 '14 at 10:44
  • $\begingroup$ I've also tried None Kernel and make the context unique to that notebook, but it's still not working $\endgroup$ – user25578 Jun 26 '14 at 10:47
  • $\begingroup$ Thanks, I solved it quitting the Kernel. Thank you so much $\endgroup$ – user25578 Jun 26 '14 at 10:50

Browse other questions tagged or ask your own question.