MacOS: R2017a keeps asking "Allow incoming connections"
Show older comments
Running MacOS 10.12.3 On each invocation of Matlab R2017a, MacOS asks "Allow incoming connections, Allow / Deny". The answer doesn't get remembered for the next time I open Matlab. I have Matlab 2016a and 2017a installed side-by-side. The issue doesn't occur on MATLAB_R2016a, only on MATLAB_R2017a. I have worked around this by adding manually the file "/Applications/MATLAB_R2017a.app/Contents/MacOS/MATLAB" to the Firewall allowed list. I had to do this manually, as it wouldn't remember the setting from the prompt.
7 Comments
prjctdth
on 26 Mar 2017
I encounter the same issue. As i know from other software this occurs, if its code isn't signed properly while build from source code. Unfortunately you need a developer account from apple with a valid certificate, which i don't have and you probably don't have as well. In my opinion it is mathwork's fault and i hope they will fix it soon.
Walter Roberson
on 26 Mar 2017
I did not observe this with the R2017a prerelease running on a Sierra virtual machine.
Jorge Balat
on 20 Apr 2017
I'm also seeing this problem on Sierra. It gets really annoying.
Miles Stanhope
on 2 May 2017
I tried the suggested workaround of adding the file manually to the Firewall allowed list, but the problem still persists. I'm running Sierra 10.12.4. It's really frustrating.
Brian Wandell
on 10 May 2017
Same behavior for me on this 10.12.4 system. A Mathworks fix is important.
Walter Roberson
on 11 May 2017
I did not observe this with the R2017a official running on a Sierra virtual machine.
Problem persists for R2017a in MacOS Sierra 10.12.6, when opening via clicking on app icon or icon in dock. Adding Matlab (either the main /Applications entry or the actual executable mentioned by Kanovsky) did not solve the problem.
Matlab also does not remember previous screen position, and opens all windows, including figures on the wrong (for me) screen. It appears to always open on the screen where the dock is positioned (which for me is on the side of my smaller screen), regardless of where the window was positioned previously. Moving dock back to my main window fixes the problem, but I keep the dock on the side of the secondary window so I have more screen real estate for working.
Workaround in J Robin's link (see below) of opening matlab from the shell script (/Applications/Matlab.../bin/matlab) via command line seems to fix both problems for me.
Accepted Answer
More Answers (1)
Noah Kanovsky
on 31 Mar 2017
Edited: Noah Kanovsky
on 25 Aug 2017
0 votes
3 Comments
Noah Kanovsky
on 2 Jun 2017
Edited: Noah Kanovsky
on 25 Aug 2017
If this works, it implies that the startup code was changed (and the bug introduced) between 2016 and 2017. FWIW, there is no StartMATLAB in R2017a at the location listed, so that code seems to have been moved somewhere else. Mathworks, please fix! (I can't test it because I didn't retain my R2016 when I updated to R2017a.)
Noah Kanovsky
on 15 Aug 2017
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!