Matlab automatically starts when I open Terminal on my MAC
조회 수: 4 (최근 30일)
이전 댓글 표시
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.
댓글 수: 0
채택된 답변
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
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
2015년 6월 5일
it seems you have created a Cron Job (Scheduled Task), matlab is triggered as soon as you open Terminal.
댓글 수: 2
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 Exchange에서 Startup and Shutdown에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!