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.