Editing Rasperry Pi
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
[[File:Raspbian_wheezy_running_octave.png|500px]] | [[File:Raspbian_wheezy_running_octave.png|500px]] | ||
Line 20: | Line 18: | ||
$ sudo apt-get update | $ sudo apt-get update | ||
$ sudo apt-get install octave | $ sudo apt-get install octave | ||
This will take some time to download (approx. | This will take some time to download (approx. 29MB) and install octave and all of its needed dependencies. After this there is an entry "Programming" - "GNU Octave" in your LXDE menu. | ||
Line 38: | Line 36: | ||
After that you can compile your programs using "mkoctfile". See [http://www.gnu.org/software/octave/doc/interpreter/Oct_002dFiles.html#Oct_002dFiles GNU octave manual: A.1 Oct-Files] for how to write them. | After that you can compile your programs using "mkoctfile". See [http://www.gnu.org/software/octave/doc/interpreter/Oct_002dFiles.html#Oct_002dFiles GNU octave manual: A.1 Oct-Files] for how to write them. | ||
== | == Further work == | ||
* Write a simple example which read/writes the GPIO ports from within octave. Perhaps a simple oct wrapper around http://www.open.com.au/mikem/bcm2835/ ? |