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

1 Ansicht (letzte 30 Tage)
Julian
Julian am 23 Mär. 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?

Antworten (0)

Kategorien

Mehr zu Write Unit Tests finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by