For some reason, when I try to do a computation in a fresh kernel, MM remembers the "old" values from the old kernel, is there a way to stop this?

  • 1
    $\begingroup$ You have to give some more information. Can you give an example of an old value that is remembered on a fresh kernel? $\endgroup$
    – Jason B.
    Nov 29, 2021 at 16:23
  • 2
    $\begingroup$ Also, are you sure that you are shutting down the kernel, not just closing the notebook? I.e. does the problem persist if you use Quit[] to quit the kernel? $\endgroup$
    – Hausdorff
    Nov 29, 2021 at 16:25
  • $\begingroup$ @JasonB. An example is the last question I posted here about solving a ODE system. When I copy the symbolic expression(without the numerical values substituted) in a fresh kernel, it gives me the output from the old kernel(where I inputted the numerical values) $\endgroup$
    – Math
    Nov 29, 2021 at 16:31
  • $\begingroup$ @Hausdorff I haven't tried. however I still need the "old" notebook open so I'm not sure how this will work? $\endgroup$
    – Math
    Nov 29, 2021 at 16:32
  • 1
    $\begingroup$ @Math - to quit the kernel but leave the notebook open either evaluate Exit[] or use the menu Evaluation -> Quit Kernel -> Local $\endgroup$
    – Jason B.
    Nov 29, 2021 at 16:46


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.