Matlab has integrated the NN toolbox into the deep learning toolbox. Many of the functions are no longer the same. initp was to initialize the perceptron. In the Deep Learning toolbox, you would have to create a network : net = perceptron; and then initialize it using the init command, and an intialization function, 'rands' for example.
In a nut shell, Matlab NN toolbox is changed