Connect a BeagleBone Black to Matlab

2 views (last 30 days)
AEW
AEW on 2 Oct 2017
Commented: Manish M on 27 Jun 2019
I am trying to communicate via Matlab with a BeagleBone Black board booted from a microSD card. I couldn't connect with the normal IP address 192.168.7.2, but I was able to do so with 127.0.0.1. However, in this case, I can't obtain the IP address and use the different available functions. For example, I obtain the following error when I try to open the command shell: "Undefined function 'openShell' for input arguments of type 'double'." This is what I get by writing the command:
I also noticed that there is a problem with the COM port named Gadget Serial on the Windows Device Manager as shown here.
Using the ifconfig command on the SSH gives the following:
Any help to solve this problem is appreciated.
(Note: I have the ethernet port of the BeagleBone reserved for a sensor.)
Thanks.
  2 Comments
Chandani Madnani
Chandani Madnani on 5 Oct 2017
What is the error message that you get while connecting with the normal IP address?
Also what is your workflow? Do you intend to perform basic operations on the hardware? In that case, you would need the following support package in MATLAB 'MATLAB Support Package for BeagleBone Black Hardware'
If you intend to run Simulink models on BeagleBone hardware, you would need 'Embedded Coder Support Package for BeagleBone Black Hardware' which I believe you already have (as you are using 'beaglebone_black' function). This package requires an initial setup. Was that successful?
Manish M
Manish M on 27 Jun 2019
Have you installed the required drivers for Beaglebone Black on your Windows machine? For 64 bit machine: https://beagleboard.org/static/Drivers/Windows/BONE_D64.exe

Sign in to comment.

Answers (0)

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!