MATLAB: Does “readtable” fail to read a file from OneDrive

existsfileMATLABonedriveopenreadtabletounable

Best Answer

The issue is likely to be with OneDrive locking the file for editing purposes, although our development team is aware of the issue and investigating.
For now, the workaround is to close the application which uses the file in OneDrive, and then use MATLAB to load the file. Alternatively, the file can be moved or copied to a local directory, ensuring OneDrive does not lock it.