Undefined function 'libsvmread' for input arguments of type 'char'.
8 ビュー (過去 30 日間)
古いコメントを表示
I get the following error when i use libsvm
Undefined function 'libsvmread' for input arguments of type 'char'.
i downloaded libsvm 3.17 and unzipped it and placed all content in my matlab path
in command prompt i used
[a,b] = libsvmread('heart-scale');
i get the above error
plz help
0 件のコメント
回答 (3 件)
Hossein Sangrody
2015 年 7 月 23 日
type "pathtool" in your MATLAB command window, add the path of the functions e.g. if your operating system is Windows, add "...\libsvm-3.17\windows" and then save. MATLAB can read them now. That's all.
5 件のコメント
Christine Zarief
2018 年 2 月 23 日
I get this problem ,I tried a lot to solve it ,but it does not work ,could you please help me ?
Undefined function or variable 'libsvmread'.
Error in demo_libsvm_test1 (line 29) [heart_scale_label, heart_scale_inst] = libsvmread(fullfile(dirData,'heart_scale'));
0 件のコメント
Walter Roberson
2019 年 12 月 27 日
libsvmread() is part of the third-party libsvm tools. See https://www.mathworks.com/matlabcentral/answers/8704-i-can-not-use-libsvm#answer_12007
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Downloads についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!