Octave accessing BBB GPIO's

245 views
Skip to first unread message

robincs...@gmail.com

unread,
Nov 18, 2013, 3:09:50 PM11/18/13
to beagl...@googlegroups.com

Hi,

I have recently bought a BBB, I have installed ubuntu and octave. I am new to both octave/matlab and beaglebone but looking for a way access the beaglebones gpio's using octave, can anyone help with this?

xmog...@gmail.com

unread,
Jan 19, 2014, 9:23:46 AM1/19/14
to beagl...@googlegroups.com, robincs...@gmail.com
Hello!

I'm looking at the same problem right now, have you managed to control io pins from octave?

Nuno Sucena Almeida

unread,
Jan 20, 2014, 12:19:42 PM1/20/14
to beagl...@googlegroups.com
On 01/19/2014 09:23 AM, xmog...@gmail.com wrote:
> Hello!
>
> I'm looking at the same problem right now, have you managed to control io
> pins from octave?

You might want to create a octave C++ extension:

<https://www.gnu.org/software/octave/doc/interpreter/Oct_002dFiles.html>

<http://www.swig.org/Doc1.3/Octave.html>

and use something like

https://github.com/jackmitch/libsoc

regards,
Nuno

--
http://aeminium.org/nuno/
Reply all
Reply to author
Forward
0 new messages