フィルターのクリア

Annoying Matlab start-up warnings on Mac: " ... MATLAB_maci64 ... attempting to exclude an item from Time Machine ..."

3 ビュー (過去 30 日間)
Mac OS X version 10.7.1 (Lion) Matlab version 7.13.0.564 (R2011b) I keep getting this message: "MATLAB_maci64[5492:a807] This process is attempting to exclude an item from Time Machine by path without administrator privileges. This is not supported." , which disturbs my work in a command line mode very much.
Does anyone know how to avoid the attempt or suppress the warning message?
  3 件のコメント
Y Huang
Y Huang 2011 年 10 月 20 日
Micah, I did this:
> sudo matlab
and solved problem.
Robert
Robert 2012 年 9 月 25 日
I did the same just now:
*sudo /Applications/MATLAB_R2011b.app/bin/matlab -nojvm*
prompted for password and the problem appears to have gone away. Probably with su priv the file that needed to be excluded got excluded and the exclusion has stuck now.
;-D

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

採用された回答

Jan
Jan 2011 年 10 月 20 日
Did you try to run the compiler once as root by sudo as described here:
?
  2 件のコメント
Y Huang
Y Huang 2011 年 10 月 20 日
This worked for me. Thanks, Jan!
Micah, I did this:
> sudo matlab
Hope it works for you as well.
Johan
Johan 2014 年 4 月 15 日
Running it once as sudo fixed it for me!
sudo /Applications/MATLAB_R2012b.app/bin/matlab -nosplash -nodesktop
Now I can run it as a normal user without getting the messages!

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

その他の回答 (3 件)

Ken Atwell
Ken Atwell 2011 年 10 月 20 日
This message is seen only on Lion, and impacts all versions of MATLAB. There are no known effects other than the noisiness in the command window (which means users that launch MATLAB from the Dock or Applications folder will likely never notice this). We are indeed waiting on one of our vendors.
For the time being, you can just ignore the messages or run with elevated privilege as suggested above. Messily, you could also filter out the message (which is written to stderr). Something like:
matlab 2>&1 | grep -v "exclude an item from Time Machine"
or
matlab |& grep -v "exclude an item from Time Machine"
depending on the shell you use.

Andreas Goser
Andreas Goser 2011 年 10 月 20 日
This issue has been reported to MathWorks by a few users. The techncial document (1-F6GRLV) is not published on the web. There is no workaround described, so unfortunately, I can't help you. There is also a dependency on an other software vendor, which means MathWorks can't fix this on its own.
  1 件のコメント
Andreas Goser
Andreas Goser 2011 年 10 月 20 日
It is great to see workarounds / mitigations here. I also like to point out, that there is no indication, that these messages cause any other issues beside the inconvenience.

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


Joseph Areeda
Joseph Areeda 2012 年 8 月 29 日
編集済み: Joseph Areeda 2012 年 9 月 2 日
"there is no indication, that these messages cause any other issues beside the inconvenience."
Well there is also the bug reports from users of your code if you distribute it.
But at least I now have a thread to refer them to.
And I implemented Ken's grep -v suggestion. Thank you Ken!

カテゴリ

Help Center および File ExchangeProgramming についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by