Rasperry Pi: Difference between revisions

Jump to navigation Jump to search
150 bytes added ,  28 September 2021
The size of the package is no longer only 27MB, I checked 28/09/21 and it occupies 157MB
(added image from RaspberryPI running octave under LXDE and subchapter how to compile oct files)
(The size of the package is no longer only 27MB, I checked 28/09/21 and it occupies 157MB)
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Warning|This article is outdated as of 2020-06-10; see [[:Category:Installation]] for latest information.}}
[[File:Raspbian_wheezy_running_octave.png|500px]]
[[File:Raspbian_wheezy_running_octave.png|500px]]


Line 18: Line 20:
  $ 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. 29MB) and install octave and all of its needed dependencies. After this there is an entry "Programming" - "GNU Octave" in your LXDE menu.
This will take some time to download (approx. 157MB) and install octave and all of its needed dependencies. After this there is an entry "Programming" - "GNU Octave" in your LXDE menu.




Line 36: Line 38:
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 ==
== libbcm2835 wrapper for GPIO ==
 
* Write a simple example which read/writes the GPIO ports from within octave. Here is a stub to start: https://github.com/octave-de/octave-rpi-gpio


* 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/ ?
[[Category:Outdated pages]]
Anonymous user

Navigation menu