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