MATLAB Answers


Did R2018a change the Exception ID for non-existing directory / folder

Asked by Julian
on 23 Mar 2018
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?


Sign in to comment.

0 Answers