Undefined function or variable 'cvpartition'.

6 views (last 30 days)
Noufal
Noufal on 19 Aug 2019
Commented: Noufal on 20 Aug 2019
Hi,
for the follwoing code:
P = cvpartition(Y,'Holdout',0.20);
Am facing "Undefined function or variable 'cvpartition' " error, while I have already installed "Statistics and Machine Learning Toolbox".
Any advice please, how can I fix this issue.
Thank you
  2 Comments
dpb
dpb on 19 Aug 2019
What do
which -all cvpartition
and
ver
return (for latter, can elide your license number...)

Sign in to comment.

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!