This is so helpful, thank you, it is just what I was looking for too.
I have two questions to add to the above:
Is the constraint that only one source can be active at a time avoidable? I have a prediction from a computational model that more than one will be active at once and it would be nice to test this.
More trivially, I don’t seem to have the option ‘Export to Matlab’. I am looking in the wrong place? Or is this because I am using the Matlab Compiler Runtime? I suspect I’m missing something obvious…
Many thanks,
Adrian