Matlab现在运行速度非常慢

时间:2020-03-25 16:05:37

标签: matlab activex

Matlab(R2017b)现在运行速度非常慢:

  • 在启动过程中会吃掉1gig的ram和60%的cpu并显示大量丢失的路径
  • 仅加2个数字:4 + 4需要5分钟才能得到答案,并且会消耗1gig的内存和30%的CPU。

一些在启动时显示给命令提示符的缺少路径:

Warning: Name is nonexistent or not a directory:
C:\Users\xxxxxxxx\AppData\Local\Google\Chrome\User
Data\CertificateRevocation\5769\_metadata 
Warning: Name is nonexistent or not a directory: C:\Users\xxxxxxxx\AppData\Local\Google\Chrome\User
Data\Default\blob_storage\62727b8d-e164-4cc6-8045-19f965ce749e 
Warning: Name is nonexistent or not a directory: C:\Users\xxxxxxxx\AppData\Local\Google\Chrome\User Data\SafetyTips\500\_metadata 
Warning: Name is nonexistent or not a directory:
C:\Users\xxxxxxxx\AppData\Local\Packages\Microsoft.Windows.ContentDeliveryManager_cw5n1h2txyewy\LocalState\TargetedContentCache\v3\346481 
Warning: Name is nonexistent or not a directory:
C:\Users\xxxxxxxx\AppData\Local\Packages\Microsoft.Windows.ContentDeliveryManager_cw5n1h2txyewy\LocalState\TargetedContentCache\v3\353698 
Warning: Name is nonexistent or not a directory:
C:\Users\xxxxxxxx\AppData\Local\Packages\Microsoft.Windows.ContentDeliveryManager_cw5n1h2txyewy\LocalState\TargetedContentCache\v3\88000161 
Warning: Name is nonexistent or not a directory:

请注意,当我使用ActiveX编程运行脚本并在其中途退出Matlab脚本时,似乎有可能再次出现该问题。或者在我退出脚本然后退出Matlab之后。也许丢失对外部可执行文件的引用是一个问题……不确定。已在下面的“答案”部分中发布了Matlab帮助团队的解决方案。

1 个答案:

答案 0 :(得分:1)

来自Matlab团队:

restoredefaultpath
rehash toolboxcache
savepath

编辑: 注意: 请注意,当我使用ActiveX编程运行脚本并在其中途退出Matlab脚本时,似乎有可能再次出现该问题。或者在我退出脚本然后退出Matlab之后。也许丢失对外部可执行文件的引用是一个问题……不确定。

相关问题