MATLAB-extension-for-vscode icon indicating copy to clipboard operation
MATLAB-extension-for-vscode copied to clipboard

Matlab Does Not Run Codes on Visual Studio Code

Open seckinpolat opened this issue 9 months ago • 6 comments

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:

  1. Go to 'my a.m file'
  2. Click on '.Run'
  3. Scroll down to 'Terminal'
  4. See error "Unrecognized function or variable a"

Expected behavior I expected matlab code be running and generating plots and results.

Screenshots image

Useful Information

  • OS Version: Sonoma14.5
  • VS Code Version: 1.89.1

Thank you for your help in advance.

seckinpolat avatar May 23 '24 14:05 seckinpolat