I had activated OneDrive Files On Demand on the computer and this feature is incompatible with MATLAB, seemingly because in this mode OneDrive works with place holders.
I deactivated this mode and now everything works fine.
Thanks!
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!