Welcome to the CSC Q&A.
Get help and give help!
Write great code!
It is our choices... that show what we truly are, far more than our abilities.

Categories

+10 votes
asked in CSC 150 January201920 by (8 points)
+1

This is so helpful, the same thing happened to me.

1 Answer

+5 votes

Yes. NetLogo auto-saves files as you are working on them. The path to the auto-save file depends on whether or not the NetLogo model has been saved.

For NetLogo models which have been saved, a hidden file with the name “.filename.tmp.nlogo” will be created in the same directory as the NetLogo model.

For unsaved NetLogo models, autosave files can be found in your OS-specific java temporary directory. The files are named according to the following format: autosave_yyyy-MM-dd.HH_mm_ss.nlogo where the time and date are the time and date the model was opened. The exact path will depend on your operating system:

On Mac OS, the temporary directory is /var/folders/68/<30-character-alphanumeric-sequence>/T/. The 30-character-alphanumeric-sequence is unique to each machine.
On Windows the logs can be found in C:\Users is the logged in user.
On most non-Mac Unix-like systems the temp directory is /tmp.

answered by (8 points)
+3

thanks for sharing this is really helpful!

...