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
Mathematica Stack Exchange is a question and answer site for users of Wolfram Mathematica. It only takes a minute to sign up.
Sign up to join this communityThis 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) $\endgroup$Dynamic
content, includingManipulate
andDynamicModule
, in open notebooks can work against simply clearing or quitting the kernel. $\endgroup$Clear["context`*"]
or did you tryClear["Global`*"]
? Or perhaps another context? $\endgroup$