Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有一种方法可以将 SVMStruct(使用 Matlab 获得svmtrain)写入文件,然后在需要时读取它。我想这样做是因为我SVMclassify在训练数据后无法使用,它给出了内存不足的错误。
svmtrain
SVMclassify
您可以只使用save保存:
save
svmstruct=svmtrain(........ save('file2save.mat','svmstruct');
并load稍后重新加载:
load
load('file2save.mat','svmstruct'); svmclassify(svmstruct,.........