what would be cause for below error

조회 수: 5 (최근 30일)
SANJU Gowda
SANJU Gowda 2016년 4월 27일
답변: Walter Roberson 2016년 4월 27일
Undefined function 'trainlssvm' for input arguments of type 'cell'.
Error in sv (line 46)
[alpha(:,i),b(i,1)]=trainlssvm({xt(:,:,i),yt,type,gam,sig2,'RBF_kernel','original'});

채택된 답변

Andreas Goser
Andreas Goser 2016년 4월 27일
Looks like on of the input arguments has an unexpected data format. I suggested trying a code from the doc. Like a demo. If it runs, check the data format of all parameters step-by-step. If the demo does not run, there might be something wrong with your installation. It could be you have multiple 'trainlssvm' on the path. Try
which trainlssvm -all
  댓글 수: 1
Andreas Goser
Andreas Goser 2016년 4월 27일
Addendum: 'trainlssvm' appears to be not a MathWorks function. So you need to debug that function to understand.

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Walter Roberson
Walter Roberson 2016년 4월 27일

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by