Matlab automatically starts when I open Terminal on my MAC
1 view (last 30 days)
Show older comments
kyrollos yanny
on 5 Jun 2015
Commented: Walter Roberson
on 12 Mar 2020
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 Comments
Accepted Answer
Walter Roberson
on 5 Jun 2015
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 Comments
Christopher LaFave
on 3 Mar 2020
Edited: Christopher LaFave
on 3 Mar 2020
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".
More Answers (1)
Ayush
on 5 Jun 2015
it seems you have created a Cron Job (Scheduled Task), matlab is triggered as soon as you open Terminal.
2 Comments
Walter Roberson
on 12 Mar 2020
cron would be an unlikely culprit. cron tasks are not triggered when you run a particular executable.
See Also
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!