fitrensemble function does not exist

15 views (last 30 days)
I want to compile example of "Select Predictors for Random Forests" on Ensemble Methods page of MATLAB and I have the following error: "Undefined function or variable 'fitrensemble'" Do I need a specific licence for having access to this?

Accepted Answer

the cyclist
the cyclist on 14 Mar 2017
Edited: the cyclist on 14 Mar 2017
Typing "ver" at the command line will tell you what toolboxes you have installed.
  1 Comment
Seyedmohamad Moosavi
Seyedmohamad Moosavi on 14 Mar 2017
Thanks, I just found out that "fitrensemble" only exist in 2016b or later version. So, I updated my MATLAB and it works.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!