为什么我的 MATLAB 安装在“安装后任务”时失败或无限期挂起?

조회 수: 103 (최근 30일)
MathWorks Support Team
MathWorks Support Team 2025년 5월 7일
답변: MathWorks Support Team 2025년 5월 7일

安装 MATLAB 时,安装达到 99% 或 100%,但随后在“安装后任务”处挂起无法完成或弹出错误。如何完成安装?

채택된 답변

MathWorks Support Team
MathWorks Support Team 2025년 5월 7일
首先,尝试从 MATLAB 安装目录中的 /bin 目录运行“matlab”可执行文件。
如果您在运行 MATLAB 时遇到错误,请尝试根据您的作系统在终端中运行以下命令,同时指定实际的 MATLAB 安装目录路径并将“R20XXx”替换为您的实际版本:
Windows(在 cmd 中以管理员身份运行)
C:\Program Files\MATLAB\R20XXx\bin\win64\registerWithOS.exe
Linux
sudo /usr/local/MATLAB/R20XXx/bin/glnxa64/registerWithOS.sh
macOS (Intel 芯片)
sudo /Applications/MATLAB_R20XXx.app/bin/maci64/registerWithOS
macOS(Apple Silicon 芯片)
sudo /Applications/MATLAB_R20XXx.app/bin/maca64/registerWithOS
在 Windows 下,如果还没有 MATLAB 快捷方式这会为 MATLAB 创建一个“开始”菜单快捷方式,以便您能够从“开始”菜单启动 MATLAB。
检查 MATLAB 现在是否可以正常启动。如果在尝试上述作后仍有问题,请尝试 
仍有问题?请联系我们的安装支持团队。您可以通过 MathWorks 网站联系客户服务和安装支持,网址为:

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 安装和许可简介에 대해 자세히 알아보기

태그

아직 태그를 입력하지 않았습니다.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!