Use files from iCloud Drive on Matlab

32 次查看(过去 30 天)
Hi,
I have stored my matlab data on the iCloud Drive but I cannot find it when using Matlab.
Coudl you please help me?
Thanks!

回答(1 个)

Guillermo Luque
Guillermo Luque 2019-12-18
Hello Auryn
You can access your Icloud drive from the terminal through this command:
$ cd ~/Library/Mobile\ Documents/com~apple~CloudDocs/
Then, in your MATLAB folder (or in any other folder in your machine) you can create a virtual link to that folder. Then your data will be in ICloud, and accessible by MATLAB at the same time. In my case, my MATLAB folder is inside the Documents one, so you can create the link with this command (also from the terminal):
$ ln -s ~/Library/Mobile\ Documents/com~apple~CloudDocs/ ~/Documents/MATLAB/my_icloud
In this way you will have a new folder called my_icloud which is not more than a link to your Icloud drive folder. The tilde (~) is a Unix-like character that symbolizes your HOME folder.
Best,
Guillermo L.

类别

Help CenterFile Exchange 中查找有关 Manage Products 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by