curblock — Return the current called xcos block during the simulation
xcos
blk=curblock()
blk : the current block number in the compiled structure.
Ramine Nikoukhah - INRIA