Stability of discrete systems under structural perturbations