function bamgmesh = subsasgn(bamgmesh,index,val)
%SUBSASGN - handles indexed assignments to objects
%
%   the first argument is the object, the second argument a structure array
%   the third one is the value
%
%   Usage:
%      bamgmesh = subsasgn(bamgmesh,index,val)
%
%   See also SUBSREF

bamgmesh=builtin('subsasgn',bamgmesh,index,val);
