% SETD sets the D matrices to be the given cell array.
function setD(sys, mats)
  sys.dmats = mats;
end
