MATLAB Answers


list of all not recommended keywords

Asked by Karthikeyan S on 17 Oct 2019
Latest activity Answered by Steven Lord
on 17 Oct 2019
Where can i get all "not recommended" keywords list. Could you guys Please tell me.
Ex :
here 'isdir' is not recommended by MATLAB. I want the list of all "not recommended" keywords like 'isdir'.


on 17 Oct 2019
I'd be surprised if there is such a list. It's not generally something anyone would want, to have a big list of functions not to use when you probably weren't planning to use most of them anyway!
Not sure how such a list would be useful but here's a good start:
on 17 Oct 2019
See also this very similar question by somebody else.

Sign in to comment.

1 Answer

Answer by Steven Lord
on 17 Oct 2019

Open the Preferences using the icon in the Environment section of the Home tab on the Toolstrip. Under MATLAB, navigate to the Code Analyzer item. Search the list of messages for "not recommended" or whatever other name / phrase you want.
This list does not include every function we recommend against using; inline, eval, inv, etc. are not on the list. There's a slightly different message for inline, and eval and inv aren't going away but we strongly recommend avoiding them.


Sign in to comment.