Hello,
To my understanding, it appears that the slow speed of R2021a is because of an improper installation. Please go through this community answer for your support.
Hope it helps
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!