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!