Octave for macOS: Difference between revisions

446 bytes added ,  1 November 2023
(Updated install instructions)
Line 93: Line 93:
  do shell script "/usr/local/bin/octave --gui"
  do shell script "/usr/local/bin/octave --gui"


if you wish to start the Octave GUI by default.  If you want to start the Octave command-line interface (CLI), enter instead:
If you wish to start the Octave GUI by default. For Apple Silicon based systems, using the following script:
 
  do shell script "/opt/homebrew/bin/octave --gui"
 
Then, in Script Editor, select File>Export. Export As: Octave (or whatever the non-conflicted name you want); File Format: Application (so that it can be run by Finder); Code sign: Sign to run locally (to avoid annoying asking for permission to access folder each time). Then, you can find and run the GUI application in the Finder.
 
If you want to start the Octave command-line interface (CLI), enter instead:


  tell application "Terminal"
  tell application "Terminal"