CD to OneDrive doesn't work on Windows 10 build 16273.1
64 visualizaciones (últimos 30 días)
James Bell el 30 de Ag. de 2017
I recently upgraded to the newest version of the Windows available to insiders and now I can't CD to OneDrive in Matlab. I can still use "dir" to list the contents of the OneDrive folder, and I can even view the files in it that I had open previously, but I can't actually change the working directory to reach them. Symbolic linking and shortcuts also don't work. I can still cd to OneDrive from both Windows command line and the WSL terminal, so it seems to be a Matlab specific problem.
Srikanth Sedimbi el 6 de Sept. de 2017
If you disable the "Files OnDemand" feature of OneDrive, you should be able to access OneDrive files from MATLAB. This is a MATLAB specific issue and there is no workaround in R2017b or any of the earlier versions. A solution may be available in releases after R2017b
Más respuestas (11)
Dyson Freeman el 23 de Oct. de 2017
Editada: Dyson Freeman el 23 de Oct. de 2017
I've confused and tortured by this issue for almost 3 hours. The File on Demand was indeed responsible for this. I also verified that R2015b was function normally when I turn off the File on Demand. But R2017b still can't recognize the OneDrive folder. HOWEVER, you can try to locate the subfolders under the OneDrive folder, my 2017b can open them all except the OneDrive folder itself.
Jie Huang el 27 de Oct. de 2017
It works for me if "Files on Demand" feature of OneDrive is disabled.
Feiteng Li el 4 de Nov. de 2017
So updating to 2017b vision, has the problem Onedrive path can't be writtable and read solved?
Purring Bytes el 5 de Dic. de 2017
Files on demand is extremely useful feature, especially if your OneDrive is large (mine is 1.2 Tb) and you want to work from a laptop with limited space. This bug is clearly Matlab bug. All other programs (e.g. Mathematica, Origin) work just fine with OneDrive.
Andreas el 12 de Dic. de 2017
Editada: Andreas el 12 de Dic. de 2017
Andreas el 14 de Dic. de 2017
As of today, the MATLAB R2018a prerelease should be available. The support told me, this should fix the problem.
Turgay Tekin el 31 de Dic. de 2017
I have same problem with Matlab 2016a. Windows version is windows 10 Pro 1709 16299.125
I have changed Onedrive settings as you said and videos
"https://support.office.com/en-us/article/Learn-about-OneDrive-Files-On-Demand-0E6860D3-D9F3-4971-B321-7092438FB38E" but it still same.
If someone find the way how to fix, please share to us.
Andreas el 4 de En. de 2018
Artur Krupa el 19 de En. de 2018
Problem is not related with "FOD" function of OneDrive, because it can be enabled. Problem is when file you want to open is just a symbolic link (On Demand file) or file downloaded physically. I have already updated my MatLAB to 2017bU4 and still have 90% of files with On-Demand feature, but only folders with MatLAB files are phycically here and now everything is working.