フィルターのクリア

Undefined function 'seqminopt' for input arguments of type 'function_handle'.

3 ビュー (過去 30 日間)
poprostuJanek
poprostuJanek 2013 年 10 月 14 日
回答済み: susan 2016 年 12 月 13 日
Hi
I'm using svm library especially svmtrain function. I get some error. When I use svmtrain function directly
svmStruct = svmtrain(xdata,names,'kernel_function','polynomial','showplot',true);
then everything works just fine (Matlab find function without any problems, functions returns proper results) BUT when I write my own function and use some other functions from that package like for example seqminopt then I get information
Undefined function 'seqminopt' for input arguments of type 'function_handle'.
"seqminopt" is a function which "svmtrain" calls without any problem but I cannot calls it directly ? Why I get such error ? Do you know any good Matlab tutorial on the internet which explain how to implement , management , include , check etc. packages and libraries ?
Please help me :)
Jan

採用された回答

Jan
Jan 2013 年 10 月 14 日
I guess that seqminopt is located in a folder called /private, which is a subfolder of the path of svmtrain. Then svmtrain can see it, but no function from another folder. This is the intention of /private subfolders.

その他の回答 (2 件)

poprostuJanek
poprostuJanek 2013 年 10 月 18 日
Ok , thanks you very much :)
  1 件のコメント
Image Analyst
Image Analyst 2013 年 10 月 27 日
You forgot to officially Accept Jan's answer so I did it for you.

サインインしてコメントする。


susan
susan 2016 年 12 月 13 日
i met with the same problem

カテゴリ

Help Center および File ExchangeGet Started with MATLAB についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by