I've been needing to compare structural descriptions ever since my master's thesis back in 2010. I'm presently working on a meta-analysis of the MIREX Structure Segmentation task that I hope to make a work of open research, meaning that all of it will be available to download, re-run and reuse. As part of that, I've decided to publish my evaluation scripts to a public repository, so that I can refer to them in the open research. So, here they are!
Nifty bonus: it includes load_annotation.m, a newer script for loading SALAMI (or generic .lab) files into Matlab.