Windows 10 Virtual Machine cd issue with executable compiled with matlab R2016a
2 次查看(过去 30 天)
显示 更早的评论
Hi,
I've compiled a set of matlab functions using Matlab 2016a into a executable file to run on a server Virtual Machine with Windows 10 installed. All the development and testing work before compiling the code was done in Windows 7 and all went ok. Now when I run the executable in Windows 10 I get a MATLAB:cd:NonExistentDirectory when trying to access a mapped drive on that machine. No sure what the problem is, but I can access the same folder in matlab using the full network path. It must be something related to the mapped drive. Is this an issue in matlab? Is there a fix?
Best
João
6 个评论
Greg
2018-9-15
Can you compile a simple test executable that displays the result of
isdir('S:')
I just tried the same in MATLAB for my router's attached thumb drive. It returned false until I used Windows Explorer to open the mapped drive letter. Before that, it was in the erroneous "disconnected" state.
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Low-Level File I/O 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!