How to execute the Simulink model from Raspberry Pi?
1 回表示 (過去 30 日間)
古いコメントを表示
I have built a Simulink model consisting of three blocks (Pulse generator + Data Type Conversion + GPIO Write) to flash a LED.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/157121/image.png)
I loaded it onto the board, and the model ran normally from the computer in both normal and external modes. The LED was flashing.
The Simulink model is converted into an executable that runs on the Raspberry Pi board. Typically, the executable is saved in the `/home/pi/LED_Test_rtt/MW/LED_Test` directory. The name of the executable is the same as the Simulink model name.
and the LED was not flashing.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/157123/image.png)
0 件のコメント
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Raspberry Pi Hardware についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!