Glad it worked. The call to MexSimulator() does throw some errors loading the binary:
Invalid MEX-file ‘/Users/Andy/Desktop/CADET/cadet/matlab/bin/CadetMex.mexmaci64’:
dlopen(/Users/Andy/Desktop/CADET/cadet/matlab/bin/CadetMex.mexmaci64, 6): Library not loaded: @rpath/libtbb_preview.dylib
Referenced from: /Users/Andy/Desktop/CADET/cadet/matlab/bin/CadetMex.mexmaci64
Reason: image not found
Error in MexSimulator (line 137)
obj.mexHandle = CadetMex(‘create’);