First of all, thanks for this block! Once I get it to work it'll save me a ton of time.
At risk of asking a programming question, I'm having a bit of trouble implementing the block in conjunction with a motor encoder (Vex 269: http://www.vexforum.com/wiki/index.php/Intergrated_Motor_Encoders). I believe the problem is that the terminator address of the encoder (0x4C) is different from the one that simulink is trying to access, but I am having trouble finding where this address is specified in the provided source codes. The warning I get is:
Warning: Unsuccessful read: A timeout occurred before the Terminator was reached.
I can read the encoders with the I2CEncoder library implemented through the arduino IDE, so I am certain that the hardware is set up properly. The rest of the arduinoIO package works properly as well. Any insight?