フィルターのクリア

Matlab automatically starts when I open Terminal on my MAC

4 ビュー (過去 30 日間)
kyrollos yanny
kyrollos yanny 2015 年 6 月 5 日
コメント済み: Walter Roberson 2020 年 3 月 12 日
Hello,
I have Matlab version 15 and I was using my terminal and looking through all the folders because I was looking for a file. I believe I opened the startup file in my root. Now every time I open terminal Matlab opens automatically and I cannot run commands on my terminal until I close the Matlab program. Does anyone have any suggestions on how to prevent this?
Thanks.

採用された回答

Walter Roberson
Walter Roberson 2015 年 6 月 5 日
This has nothing to do with cron. You have created a shell initialization file that mentions matlab. Check your ~/.bashrc ~/.bash_profile ~/.bash_login ~/.profile ~/.bashrc
  3 件のコメント
Walter Roberson
Walter Roberson 2015 年 6 月 5 日
Which file turned out to be the problem?
Christopher LaFave
Christopher LaFave 2020 年 3 月 3 日
編集済み: Christopher LaFave 2020 年 3 月 3 日
Nice! Thank you Mr. Roberson. I had pasted the path to my Matlab, "just for a minute", into my .bashrc in order to add it to an alias, and promptly forgot all about it. That's the last time I use a system file as a "scratch pad".

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

その他の回答 (1 件)

Ayush
Ayush 2015 年 6 月 5 日
it seems you have created a Cron Job (Scheduled Task), matlab is triggered as soon as you open Terminal.
  2 件のコメント
kyrollos yanny
kyrollos yanny 2015 年 6 月 5 日
Thank you for the response. Do you know how I can undo this? Or can you refer me to a good website?
Walter Roberson
Walter Roberson 2020 年 3 月 12 日
cron would be an unlikely culprit. cron tasks are not triggered when you run a particular executable.

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

カテゴリ

Help Center および 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