Cross-validation partition, specified as the comma-separated pair consisting of 'CVPartition' and a cvpartition object created by the cvpartition function. crossval splits the data into subsets with cvpartition.
I see the above information from crossval documentation. I think first usage is enough, because the info says that crossval uses cvpartitionn function already. Even so, I would like to hear your response.