MATLAB Examples

keep_atom.m

Contents

Examples

  • atom = keep_atom(atom,{'SOL'})
function atom = keep_atom(atom,resname)

ind=ismember([atom.resname],resname);

atom=atom(ind);

atom=update_atom(atom);