How can I convert a Matlab Code into a Simulink model for running on a Raspberry Pi?
조회 수: 2 (최근 30일)
이전 댓글 표시
With my Matlab Code I open and communicate via TCP/IP with a Lidar Sensor. Now I want to implement this code in an existing Simulink model as a new Simulink block. Further, I want to run the model on a Raspberry Pi independently. I've tried 'MATLAB function block' but it doesn't really work.
Would be great if someone could help.
댓글 수: 0
답변 (1개)
Dan Lluch
2015년 11월 3일
Here is an old post that relates - http://www.mathworks.com/matlabcentral/answers/79941-implement-tcp-ip-send-and-receive-in-raspberry-pi
but think the main suggestion to use the Device Driver guide is the way to go: http://www.mathworks.com/matlabcentral/fileexchange/39354-device-drivers
Please do upload to File Exchange if you may a custom block for your Lidar communication via TCP/IP as an example for others.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Run on Target Hardware에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!