vscode-matlab
vscode-matlab copied to clipboard
Finding my MATLAB.linterConfig. “Code Analyzer settings”
Hi I’m just trying to integrate my MATLAB to Vscode but I’m struggling with the linter config. I can’t find the file anywhere or manage to generate my own code analyser settings file it ends up blank? Any help would be super appreciated.
Thanks
What did you try exactly ? You should go to File > Preferences > Settings. It opens a menu to update all VS Code settings. Then, on the left select Extensions > Matlab configuration. In linter settings you should set the full path to the linter.
@sbeeve, for windows-os example:
"matlab.linterConfig": "C:\\Program Files\\Polyspace\\R2021a\\bin\\win64\\mlint.exe",
"settingsSync.ignoredSettings": [
"-matlab.linterConfig",
"-matlab.matlabpath",
"-matlab.mlintpath"
],
"matlab.matlabpath": "C:\\Program Files\\Polyspace\\R2021a\\bin\\matlab.exe",
"matlab.mlintpath": "C:\\Program Files\\Polyspace\\R2021a\\bin\\win64\\mlint.exe",
"files.associations": {
"\"*.m\":\"matlab\"": ""
}