Connect a BeagleBone Black to Matlab
조회 수: 2 (최근 30일)
이전 댓글 표시
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
Chandani Madnani
2017년 10월 5일
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'
Please see the documentation at: http://www.mathworks.com/help/supportpkg/beagleboneio/examples.html
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
2019년 6월 27일
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
More instructions are available at: https://beagleboard.org/static/beaglebone/latest/README.htm
답변 (0개)
참고 항목
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!