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

1 次查看(过去 30 天)
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?

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Write Unit Tests 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by