VH-Lab / DID-matlab

Data Interface Database
Other
1 stars 1 forks source link

filecache write error, Windows R2022a #29

Closed stevevanhooser closed 2 years ago

stevevanhooser commented 2 years ago

(Look into this)

FYI, I confirmed that the filecache write error is due to an internal bug in Matlab R2022a or newer, at least on Windows (I'm not sure about MacOS/Linux).

altmany commented 2 years ago

R2022a (not ok):

>> [fid,msg] = fopen([userpath '\test.txt'], 'wt')
fid =
    -1
msg =
    'Permission denied'

R2021b (ok):

>> [fid,msg] = fopen([userpath '\test.txt'], 'wt')
fid =
     3
msg =
  0×0 empty char array
altmany commented 2 years ago

It looks like this internal Matlab bug is fixed in R2022b, so only problematic on R2022a