- Open Terminal in your MacBook.
- Type the following commands in Terminal:
- Right click the new icon created on the desktop --> Open With --> TextEdit.
- At this point, you should be able to double-click the created icon on the desktop to start MATLAB with the specified flag.
- (Optional) To add a custom icon image, follow the steps in the following Apple discussions thread: https://discussions.apple.com/thread/7720713