I solved it by:
- disconnecting the wifi and using mobile phone data
- changing destination as /Applications/another_folder/MATLAB_R2022a.app
However, I did not test if only (1) was sufficient or also (2) was necessary.
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!