Block for interfacing scilab
[sim, out] = ld_scilab(sim, events, in, invecsize, outvecsize, init_cmd, calc_cmd, destruct_cmd, scilab_path)
in *+(invecsize) - input scilab_interf.invec%d = [ .... ];
out *+(outvecsize) - output scilab_interf.outvec%d = [ .... ];
scilab_path - Path to scilab5 executable
out = calc_cmd scilab_interf.outvec%d = calc_cmd(scilab_interf.invec%d);
NOTE: The 64-Bit verion of scilab is not working for some reason,
but also on 64-Bit systems you can use the 32-Bit version
if you add "linux32" in front of the command that starts
the controller process, as shown in demo/run.sh