Running Script Trouble

From AIMSWiki

Tips for running script from this wiki...

As with many programs, Octave runs script from a main working directory. When Octave is opened, it automatically sets its working directory to a folder on your computer. However, if you copy and paste script from this page into your computer, you will probably get errors. This is because your computer is trying to find the working directory for the script, but it can't because it was written somewhere else. So before running the script from this page, save it to your computer. This will make a working directory that your computer can find, and then it can execute the script.

QtOctave for Mac can't run files

Error when loading a file in QtOctave for mac version 0.8.2

Make sure the folder path doesn’t have any spaces. For example:

/Users/iBill/my documents/octave

The above doesn't work. Instead, use the following which doesn’t have any spaces:

/Users/ibill/mydocuments/octave

QtOctave needs to know where the folder is. From the menu bar, go to Config>General configuration>Octave>Folders and click Add to make the changes illustrated above.