Matlab unable to download files on demand from OneDrive cloud storage

11 次查看(过去 30 天)
Hi there,
I am having trouble getting Matlab to retrieve files it needs from my OneDrive cloud storage account, even though it can see the files in the current directory or on the search path. If I try and run such a file from Matlab I get the following error message (where '...' is the path to the file I'm requesting):
Error using load
Unable to read MAT-file .... Not a binary MAT-file. Try load -ASCII to read as text.
If I get OneDrive to store the actual file on my machine Matlab can open it, but not if it is stored on the cloud. I know Matlab can do this as it works on my other PC, but not sure how to get it to work on my laptop. File explorer and all my other applications can get the file straightaway from OneDrive cloud, so I don't think this is a OneDrive issue, but rather something to do with how Matlab interacts with OneDrive. I'm running Matlab 2021a.
Any help would be greatly appreciated.

采纳的回答

Sivani Pentapati
Sivani Pentapati 2021-10-1
Hi Christopher,
From what I understand, you want to retrieve files from Cloud Storage into your MATLAB. You can try using MATLAB Drive to store your files in the Cloud in order to acess them across multiple devices. Additionally, you can use MATLAB Drive Connector for managing the MATLAB files from your local computer.

更多回答(0 个)

产品


版本

R2021a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by