Debug the simulation
The Debug block will execute arbitrary Scilab script on each simulation step. By default, the xcos_debug_gui function will display a GUI to manage the simulation.
SCI/modules/scicos_blocks/macros/Misc/DEBUG.sci