[sim, out] = ld_interface(sim, events, in, vecsize)
Interfacing block
in *+(vecsize) - input
out *+(vecsize) - output