MATLAB-extension-for-vscode
MATLAB-extension-for-vscode copied to clipboard
Matlab Does Not Run Codes on Visual Studio Code
Describe the bug I have Visual Studio Code Version: 1.89.1 with Matlab extension v1.2.2, I have Matlab R2024a.
Everything seems working but when I try to run a Matlab code in Visual Studio code, it gives me notification that "File is not found in the current folder or on the MATLAB path" after I click on "Add to Path" then I receive Unrecognized function or variable on terminal.
To Reproduce Steps to reproduce the behavior:
- Go to 'my a.m file'
- Click on '.Run'
- Scroll down to 'Terminal'
- See error "Unrecognized function or variable a"
Expected behavior I expected matlab code be running and generating plots and results.
Screenshots
Useful Information
- OS Version: Sonoma14.5
- VS Code Version: 1.89.1
Thank you for your help in advance.