Local sampled-data control of the glucose-insulin system