Thank you a lot for this code. I'm facing a problem when I try the nxtbuild function.
### Executing GNU-ARM toolchain for building executable ...
Compiling /cygdrive/C/cygwin64/ecrobotNXT/environment/nxtOSEK/toppers_osek/kernel/alarm.c to alarm.o
/cygdrive/C/cygwin64/ecrobotNXT/environment/nxtOSEK/ecrobot/tool_gcc.mak:110: recipe for target `build/kernel/alarm.o' failed
make: *** [build/kernel/alarm.o] Error 127
Do you have an idea for helping me?
I am on windows 7, with matlab 2012a.
Thank you a lot!
Sorry, I have a problem...
When I doing code generation > Build Model(ctrl+B)
Simulink appear error message like this:
Data store memory with name 'ServoMotorA' was not found for block 'Copy_of_TestMotorOSEK/Servo Motor Write/Data Store Write'
Thanks Takashi i already make it work, the main issue was that matlab/simulink 2012a request to add NXT support via "ECRobotInstaller – Simplified installation" in order to recognize all the files, after the instalation also need the "Simulink.data.upgradeClasses" command to update the system after all that is when it work