Is there way to save values of variables automatically in the same notebook when notebook is saved?
In more details:
I have functions which take a long time for computation. While I work with notebook I use these function to initilaize some variables. I would like that when I save notebook by command Menu->Files->Save these variables would be saved automatically in this notebook.
I know that I can save variables by command