mpm install-doc --matlabroot="C:\Program Files\MATLAB\R2023a" it may take hours. It's because the antivirus software. Turn the 实时保护 off.