收藏到CSDN网摘
Matlab provides loads of useful functions for scientific computing. However, the functions might be added or deprecated from version to version. To write more robust codes, it's always a good practice to deal with different cases. An if...else... clause would be enough for this purpose.