Can't open example openExample('stats/TrainARegressionEnsembleExample')
조회 수: 14 (최근 30일)
이전 댓글 표시
Hi Matlab buddies,
I can't open example openExample('stats/TrainARegressionEnsembleExample') in my Matlab R2018B. Do you know what the problem could be? The version? I get the following wrong message:
Error using exampleUtils.getExamplesDir (line 13)
Unable to create a working directory at the location returned by the userpath function.
Error in exampleUtils.getWorkDir (line 2)
ed = exampleUtils.getExamplesDir();
Error in setupExample (line 11)
workDir = exampleUtils.getWorkDir(metadata);
Error in openExample (line 29)
workDir = setupExample(id, workDir);
댓글 수: 0
답변 (1개)
Fangjun Jiang
2019년 9월 6일
You need to have the "Statistics and Machine Learning Toolbox".
Run "ver stats" to check
댓글 수: 4
Fangjun Jiang
2019년 9월 6일
edit exampleUtils.getExamplesDir
Add a breakpoint at line 13, check the condition to figure out which caused the error.
참고 항목
카테고리
Help Center 및 File Exchange에서 Linear Regression에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!