项目场景:
运行环境:modelsim
问题描述:
朋友用modelsim仿真遇到 modelsim is existing with code 7 问题。
帮助遇到同样问题的朋友。
错误提示:
modelsim is existing with code 7
现象:
出现错误。
原因分析:
可能是电脑用户名中英文不对。
解决方案:
参考在win10家庭版中修改C盘用户文件夹中文名为英文名
win10家庭版修改方法如下:
- 假设需要改名的用户账户为A账户,更改用户文件夹名称之前必须先添加一个用户账户(可以新建一个微软账户,假设为B账户),并将B账户由标准账户升级为管理员账户;
- 注销A账户退出,重启电脑用B账户登录; 打开我的电脑-C盘-用户-A用户文件夹,这时候可以重命名了,如果不行,再重启一下。
- 用Windows键+r键打开“运行”,输入regedit,点确定。
- 找到注册表中的这个目录:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\ProfileList(仔细看清楚),在ProfileList下的几个子目录中找到那个里面写着你旧用户文件夹的子目录,双击ProfileImagePath,将A账户中文名改为英文名。
- 最后,重启电脑用A账户登录,即可大功告成。
- 用上面的方法安装完成Ansys后,需要以管理员身份运行Ansys。