VScode Error:Could not find path to the mlint executable in the configuration file

1, make sure you have a Matlab runtime or SDK installed.

2, goto VScode File -> Preferences -> Settings -> Application -> Edit in settings.json

3, add a line into the json file.

“matlab.mlintpath” : “C:\\Program Files\\MATLAB\\R2016b\\bin\\win64\\mlint.exe”,