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!