how to read arff file in matlab?
48 次查看(过去 30 天)
显示 更早的评论
how to read arff file in matlab? I use 2008b version
0 个评论
回答(2 个)
Rock Rocky
2019-1-7
there are a few MATLAB interfaces for WEKA files on MATLAB File Exchange, I normally use this one: http://www.mathworks.com/matlabcentral/fileexchange/21204-matlab-weka-interface where you have a saveARFF() and a loadARFF() functions.
You can simply unzip the the exchange files into your working directory you can use loadARFF in this way: data = loadARFF('yourfile.arf')
0 个评论
Rock Rocky
2019-1-7
You can use this code as well
DATA = importdata('Yourfilename.arff');
1 个评论
sambhav jain
2020-2-20
imortdata doesn't work correctly sometimes for example try converting the given arff file to mat file , it converts it into a cell instead of a struct .
anyway i am stuck on how to convert this dataset to mat format.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Data Type Conversion 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!