Hey Chris, Thanks for your interest in the NetLogo Mathematica Link add-on. Your recommendations were very helpful. I've made the changes to the tutorial and got that code merged. I also added a step in the tutorial to set the models folder, as the location slightly differs between macOS and Windows/Linux (as I discovered when running it).
I've posted a new version of the add-on, including the tutorial, here: https://github.com/NetLogo/Mathematica-Link/releases/tag/6.1.1 Feel free to take a look and let me know if you notice any issues. It should be fine to use with students, too, although obviously they'll have to download it separately until the next release of NetLogo that will include these updates. -Jeremy ________________________________ From: netlogo-devel@googlegroups.com <netlogo-devel@googlegroups.com> on behalf of chris <chris.rueb...@gmail.com> Sent: Monday, April 5, 2021 8:13 PM To: netlogo-devel <netlogo-devel@googlegroups.com> Subject: [netlogo-devel] Mathematica tutorial deprecated code Although there are certainly more modern ways to link to NetLogo, I find the Mathematica link useful with students. In the section "Comparing Empirical and Analytic Distributions in GasLab" of the Mathematica link tutorial, the first command Needs["Histograms"]; generates an error. I believe the fix is to delete it along with the comment that proceeds it. Then, later on, replace the command empirical = Histogram[speeds, HistogramScale -> 1]; with something like empirical = Histogram[speeds, {1}, "PDF"]; . On a minor note, this file is seldom updated to indicate in its "Starting NetLogo" section to indicate the current version of NetLogo. The current version is 6.2.0 yet the tutorial still uses 6.1.0 in its examples. Chris -- You received this message because you are subscribed to the Google Groups "netlogo-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to netlogo-devel+unsubscr...@googlegroups.com<mailto:netlogo-devel+unsubscr...@googlegroups.com>. To view this discussion on the web visit https://groups.google.com/d/msgid/netlogo-devel/de51f222-dd08-4630-9a6b-684360143f6dn%40googlegroups.com<https://urldefense.com/v3/__https://groups.google.com/d/msgid/netlogo-devel/de51f222-dd08-4630-9a6b-684360143f6dn*40googlegroups.com?utm_medium=email&utm_source=footer__;JQ!!Dq0X2DkFhyF93HkjWTBQKhk!G8SowaJdnDNaeJxVz4XJx3TaTRo2j4h8Fi-IgzZubVcIJQN98Nlr-fsnrgtkq470cMZyS5vUow$>. -- You received this message because you are subscribed to the Google Groups "netlogo-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to netlogo-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/netlogo-devel/DM6PR05MB46677C70F1F90E6010C88DC3FE5F9%40DM6PR05MB4667.namprd05.prod.outlook.com.