Rapid prototyping of predictive controllers through an industrial platform