I am a new user. According to a documentation, Clear["context`*"] clears all symbols in a particular context.
I want to clear everything (functions, variables, etc..) After I use the above command, my function n1[x,y] is still defined.
Thanks
I am a new user. According to a documentation, Clear["context`*"] clears all symbols in a particular context.
I want to clear everything (functions, variables, etc..) After I use the above command, my function n1[x,y] is still defined.
Thanks
This will, as it says, remove all symbols and definitions made in the global context:
Remove["Global`*"]
As Nasser points out, the command Quit[] will quit the kernel completely. It will kill the kernel process, stopping the kernel from using any memory or remembering anything at all. Evaluating any command will re-start the kernel from scratch.
CleanSlate, tries to do everything possible to return the kernel to the state it was in when the CleanSlate.m package was initially loaded(I myself, when I want to make sure everything is clear, just restart the kernel) – Nasser Aug 03 '15 at 19:35Dynamiccontent, includingManipulateandDynamicModule, in open notebooks can work against simply clearing or quitting the kernel. – Michael E2 Aug 03 '15 at 19:45Clear["context`*"]or did you tryClear["Global`*"]? Or perhaps another context? – Michael E2 Aug 03 '15 at 19:47CloudObject. – murray Aug 03 '15 at 20:10