Undefined function 'libsvmread' for input arguments of type 'char'.

8 Ansichten (letzte 30 Tage)
kash
kash am 19 Jun. 2013
Beantwortet: Walter Roberson am 27 Dez. 2019
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

Antworten (3)

Hossein Sangrody
Hossein Sangrody am 23 Jul. 2015
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 Kommentare
Astha Ameta
Astha Ameta am 23 Jan. 2017
Bearbeitet: Astha Ameta am 23 Jan. 2017
It is still unresolved.
Akanksha Goel
Akanksha Goel am 18 Dez. 2018
I am getting same issue what to do next?

Melden Sie sich an, um zu kommentieren.


Christine  Zarief
Christine Zarief am 23 Feb. 2018
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'));

Walter Roberson
Walter Roberson am 27 Dez. 2019
libsvmread() is part of the third-party libsvm tools. See https://www.mathworks.com/matlabcentral/answers/8704-i-can-not-use-libsvm#answer_12007

Kategorien

Mehr zu Downloads finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by