I think thats almost what you'd want do have and store prevvalue during during successful calculation. Previousely in GUIDE and UIcontrol type construction there was a userdata field. I haven't been using appdesigner but it looks to be gone from a cursory inspection. However you can set a private/public property as a place to store the previous value upon successful computation run.
during an error catch.