Editing Rasperry Pi

Jump to navigation Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

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:
{{Warning|This article is outdated as of 2020-06-10; see [[:Category:Installation]] for latest information.}}
[[File:Raspbian_wheezy_running_octave.png|500px]]
[http://www.raspberrypi.org Raspberry Pi] is a credit-card sized computer that plugs into your TV/Monitor and a keyboard. (see [http://www.raspberrypi.org/faqs FAQ])
[http://www.raspberrypi.org Raspberry Pi] is a credit-card sized computer that plugs into your TV/Monitor and a keyboard. (see [http://www.raspberrypi.org/faqs FAQ])


Line 20: Line 16:
  $ 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. 157MB) 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. 29MB) and install octave and all of its needed dependencies. After this there is an entry "Programming" - "GNU Octave" in your LXDE menu.




Line 31: Line 27:
Just install it with apt-get:
Just install it with apt-get:
  $ sudo apt-get install octave-control
  $ sudo apt-get install octave-control
== build your own .oct files ==
sudo apt-get install liboctave-dev
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.
== 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
[[Category:Outdated pages]]
Please note that all contributions to Octave may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Octave:Copyrights for details). Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)

Template used on this page: