Error initializing when MATLAB Hardware Support Package files are moved to iCloud

조회 수: 7 (최근 30일)
We are experiencing an error where macOS (Mojave, Catalina & possibly others) offloads some components from the Disk to iCloud.
When running the command to initialize arduino:
a = arduino('/dev/cu.slab_usbtouart','Nano3')
It fails because components are being offloaded from the machine to the cloud
I believe the affected directories for the MATLAB Support Package for Arduino Hardware are /Users/me/Library/Application Support/MathWorks/MATLAB and Documents/MATLAB/Support Packages ... there is no reason they should be offloaded, I can't figure out why macOS it's doing this.
  • The only solution I've found is do disable iCloud for Desktop and Documents which isn't always ideal.
macOS: 10.14.6, 10.15.7
Matlab: 2020a, 2020b
Package: MATLAB Support Package for Arduino Hardware 20.1.1, 20.2.0
  댓글 수: 1
Eric Prandovsky
Eric Prandovsky 2020년 11월 11일
Possible solutions
  • It was suggested to change the MATLAB folder name in /Documents to "MATLAB.nosync". iCloud should ignore this folder in iCloud Backups. You have to Change Your Support Package Directory.
  • I believe, The second option would be to Disable the "Optimize Storage" under Settings-->iCloud-->iCloud Drive Options
iCloud Drive Options

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 MATLAB Support Package for Arduino Hardware에 대해 자세히 알아보기

태그

제품


릴리스

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by