My code broke in R2018a when the MException id apparently changed from 'MATLAB:cd:NonExistentDirectory' into 'MATLAB:cd:NonExistentFolder'
I didn't spot anything about this change in the release notes. Did any other exception IDs change? Can we rely on stability of ID in testing against exceptions? It's great to improve the message of an MException, and improve the friendliness of the reporing, but shouldn't the ID be rigidly unchanging?