How can I convert a Matlab Code into a Simulink model for running on a Raspberry Pi?

1 回表示 (過去 30 日間)
Sebastian Dietz
Sebastian Dietz 2015 年 10 月 13 日
回答済み: Dan Lluch 2015 年 11 月 3 日
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.

回答 (1 件)

Dan Lluch
Dan Lluch 2015 年 11 月 3 日
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.

カテゴリ

Help Center および File ExchangeRun on Target Hardware についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by