Have you tried using the help and doc commands?
Have you tried using simple examples without the ending semicolon?
[trainInd,valInd,testInd] = divideblock(10,0.6,0.2,0.2)
[trainInd,valInd,testInd] = divideint(10,0.6,0.2,0.2)
I don't know what sampletime, all or none mean.
However for the creation functions I use
net1 = fitnet;
dividemode1 = net1.dividemode
net2 = patternnet;
dividemode2 = net2.dividemode
net3 = selforgmap;
dividemode3 = net3.dividemode
net4 = timedelaynet;
dividemode4 = net4.dividemode
net5 = narnet;
dividemode5 = net5.dividemode
net6 = narxnet;
dividemode6 = net6.dividemode
Please let us know if you can find creation functions with the other modes.
Hope this helps.
Thank you for formally accepting my answer