mathworks / MATLAB-extension-for-vscode

This extension provides support for editing MATLAB® code in Visual Studio® Code and includes features such as syntax highlighting, code analysis, navigation support, and more.
https://marketplace.visualstudio.com/items?itemName=MathWorks.language-matlab
MIT License
244 stars 16 forks source link

The "diary" command cannot output content to a specific file. #186

Open hphuangpu opened 4 weeks ago

hphuangpu commented 4 weeks ago

Describe the bug A clear and concise description of what the bug is.

To Reproduce % start a log file diary session_log.txt; a = 5;
b = 10;
c = a + b;
disp(['The sum of a and b is ', num2str(c)]);
% close file diary off;

Expected behavior The code works well in Matlab desktop app. But getting a blank file in VS Code.

Useful Information

版本: 1.94.2 (user setup) 提交: 384ff7382de624fb94dbaf6da11977bba1ecd427 日期: 2024-10-09T16:08:44.566Z Electron: 30.5.1 ElectronBuildId: 10262041 Chromium: 124.0.6367.243 Node.js: 20.16.0 V8: 12.4.254.20-electron.0 OS: Windows_NT x64 10.0.19045

philipb314 commented 4 weeks ago

Thank you for reporting this issue. This is something I can reproduce and is something that we hope to resolve in a future release.