> As for SwigRef.m, I initially thought also to put it in the +module directory together with the .m files, but as Joel says, it's common to all modules. Caution: moving it to +module means we'd have to call it as module.SwigRef all the time.

One more note on that: If I understand the MATLAB documentation correctly, there can be a problem with multiple inheritance if you have multiple SwigRef classes. Moving inside +module can cause problems like this.

Best regards,