The data is automatically divided with the default ratio 0.7/0.15/0.15.
This is usually good enough.
However, if you wish to change it use, for example
net.divideParam.trainRatio = 0.34;
net.divideParam.valRatio = 0.33;
net.divideParam.testRatio = 0.33;
Hope this helps.
Greg