MLman opened this issue 8 years ago · 1 comments
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
Fixed in obj2structGMM.m