Chao_Jiang
Hello Chao
this probably happens when you load an "old" model (which did not have this field). This bug has been corrected in the development branche and is easy to implement: open love.m
and change the function loadobj
so that it looks like this:
function self = loadobj(self) % {{{
% This function is directly called by matlab when a model object is
% loaded. Update old properties here
if isstruct(self),
oldself=self;
%Assign property values from struct
self=structtoobj(love(),oldself);
if isfield(oldself,'int_steps_per_layers')
self.min_integration_steps = self.int_steps_per_layers;
end
end
end% }}}
I hope this helps!
Mathieu