Cleaned up MR code
[libdai.git] / matlab / dai_readfg.m
1 % [psi] = dai_readfg (filename)
2 %
3 % INPUT: filename = filename of a .fg file
4 %
5 % OUTPUT: psi = linear cell array containing the factors
6 % (psi{i} is a structure with a Member field
7 % and a P field, like a CPTAB).