Running Matlab 2020a on a mac with catalina, I get this error message at startup
Warning: Name is nonexistent or not a directory:
/private/var/folders/0p/lqhdk1m88xj8w30059_snrh80000gq/T/Editor_vxdxq
I did a spotlight search for some of the substrings in that message, but nothing came up. How do I go about fixing this

1 件のコメント

Adam Danz
Adam Danz 2020 年 6 月 10 日
Do you have a startup.m file? If so, could you share it?
Is that the entire warning message?
Since it's a warning, I'm assuming Matlab continues to initialize. Are there any other warnings/errrors? What does your Matlab path look like?
path()

サインインしてコメントする。

 採用された回答

Walter Roberson
Walter Roberson 2020 年 6 月 10 日

0 投票

This is a harmless message that is connected to the way that matlab creates a temporary directory to implement Live Scripts.

6 件のコメント

Adam Danz
Adam Danz 2020 年 6 月 10 日
This goes under the category, 'how the heck did WR know that?". :D
If the warning message is consistent, it would still bother me. I wonder what causes the harmless error and how it can be avoided.
Walter Roberson
Walter Roberson 2020 年 6 月 10 日
it has been discussed before including by staff.
Live Script code is a rich text format that contains code regions. MATLAB is not able to execute the rtf directly. Instead it extracts the code into a temporary m file in a temporary directory, and executes the script that results. But temporary directories especially in $TEMPDIR are subject to deletion. Mac could delete them at any time in theory but in practice does so on boot and only if the content has not been accessed for at least 3 days. So temporary directories will not always exist upon next startup, but for various reasons the old name can have been saved in pathdef
Adam Danz
Adam Danz 2020 年 6 月 10 日
Thanks. I've been using live editor a lot lately and I also use Advanced System Care to clear out temp directories. I wonder why I haven't faced this problem on my Window system. Perhaps the temp dir containing the the temp m files isn't affected by the clean-up software. I'll have to tinker with it.
David Epstein
David Epstein 2021 年 2 月 24 日
I have just installed R2020b and I find that, when I type "path" to the command window, this line appears
private/var/folders/f2/pyj3khtr8xj8vr0059_y9lvh0000gp/T/Editor_hgibu
@Walter Roberson Is the conclusion that one should not use savepath during a Live Script session? Or could this line in "path" result from something else? I have only used Matlab for a few minutes of casual exploration since installation.
Isabelle Gouirand
Isabelle Gouirand 2021 年 5 月 14 日
I have the same warning but i my case even if matlab said "ready" i cannot run it, it is frozen. The "mouse curser" shows it is busy.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeStartup and Shutdown についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by