Hello! thank you for your working.
I have some problems, it didnot work with me. I have a matlab R2013.
When I run the simulink file "nxtway_gs_vr.mdl", it has the error:
Error evaluating 'InitFcn' callback of Battery Voltage Interface block (mask) 'nxtway_gs_controller/Battery Voltage Interface'.
Undefined function or variable 'NXT.Signal'.
Anyone know how to fix it? please help me, thank you very much