Hi Elena,
I added a new function db_set_clusters.m to help you deal with clusters programmatically:
db_set_clusters.m
I added some examples in the tutorials:
Let me know if you think of other options for these functions that would make your life easier.