MLman/kgmm_interpolation

Recent version of matlab has different field name. Fixed this part.

MLman opened this issue · 1 comments

MLman commented
if ~strcmp(ver(end-5:end-1),'2014b') <--- This is not accurate.
    ofields = fieldnames(obj);
    myobj = [];

    for i = 1:length(ofields)
        eval(sprintf('myobj.%s = obj.%s;',ofields{i}, ofields{i}));
    end
MLman commented

Fixed in obj2structGMM.m