The "diary" command cannot output content to a specific file.
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
Thank you for reporting this issue. This is something I can reproduce and is something that we hope to resolve in a future release.
Can you solve this problem if it is sure a bug? Because we usually need the output as report but now we can only copy and paste to a file.
Hi, just a kind check if there's any update on this issue? Thanks 🙏
Hi, just a kind check if there's any update on this issue? Thanks 🙏
Problem happens always, seems they still not fix this bug.