MATLAB could not access ( and set) startup directory when executed within WSL
7 次查看(过去 30 天)
显示 更早的评论
I have MATLAB installed on Windows 10. And I am trying to exceute a script from WSL by passing the startup folder as - '/mnt/c/Users/Nutzer/Downloads'.
I am getting below error msg -
xxxx@DESKTOP:/mnt/c/Windows/system32$ matlab -sd /mnt/c/Users/Nutzer/Downloads -batch file_name
Warning: "/mnt/c/Users/Nutzer/Downloads" selected using the -sd startup option could not be accessed.
Using "C:\Windows\system32" as the initial working folder instead.
Unrecognized function or variable 'file_name'.
ERROR: MATLAB error Exit Status: 0x00000001
How can I access this folder?
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Startup and Shutdown 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!