Beagleboard USB input block code generation
조회 수: 2 (최근 30일)
이전 댓글 표시
Hi,
Is there any way, using BeageBoard as hardware Target, one can create a simulink model that uses USB port to receive recorded signals from memory stick? I know there is an Embedded Coder BeagleBoard example but there is no mention of using USB ports.
Thanks,
Nasreen
댓글 수: 0
답변 (1개)
Murat Belge
2012년 10월 4일
Yes. It is possible to use data stored in a USB memory stick on BeagleBoard. In R2012a and R2012b, Simulink comes with a BeagleBoard Support Package http://www.mathworks.com/academia/beagleboard/. I recommend using this support package with BeagleBoard.
A memory stick inserted into one of the USB ports of the BeagleBoard appear as a drive. You may need to mount the drive before being able to use it. If the file is a text file for example, you can then use an Embedded MATLAB Function block to open the file on the USB memory stick and read the contents and feed them to the Simulink model. The MATLAB code you will need is in "Read a Text File" demo in MATLAB coder.
댓글 수: 4
Graziano Ullucci
2014년 6월 25일
To Murat Belge Your answer is inappropiate and do not add any useful information. Please avoid unuseful answer or comment like mine in the future.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!