static mxArrays and void update_ functions replace mxArray* get_ functions.
Rates still don't update, but simulation doesn't crash now.