Unrecognized function (iforest) even though the toolbox is installed
显示 更早的评论
Hi,
I'm trying to use the iforest function in matlab. I downloaded the Statistics and Machine learning Toolbox. I still get the following error message: Unrecognized function or variable 'iforest'. When I tried another function from the toolbox, kmeans, everything is fine. Why can't matlab find iforest?
采纳的回答
更多回答(1 个)
Image Analyst
2022-4-9
1 个投票
Look for the file:
>> which iforest
C:\Program Files\MATLAB\R2021b\toolbox\stats\anomaly\iforest.m
Replace 2021b with the version you have of course. Do you have that file? What happens if you execute that "which" statement?
类别
在 帮助中心 和 File Exchange 中查找有关 Downloads 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!