- For starting the application manually, you can just "Build" instead of "Build & Deploy". This just builds the application. You can then run WSL commands to start both standalone applications together, or manually run the application from "Raspberry Pi Resource monitor App": https://www.mathworks.com/help/simulink/supportpkg/raspberrypi_ug/raspberrypiresourcemonitor-app.html.
- Please note: For Simulation / External mode, users cannot launch the application from WSL Command line window, it has to be launched from the Model itself.
- You can also write a (bash) shell script to copy the elf executables to the Raspberry Pis and then start them using the 'pdsh' command.
Start simulations on multiple Raspberry Pis at the same time
6 ビュー (過去 30 日間)
古いコメントを表示
MathWorks Support Team
2022 年 4 月 20 日
編集済み: MathWorks Support Team
2024 年 3 月 31 日
I have two Raspberry Pis connected to my system. I would like to flash two different models (controller and plant model) to the two boards and start real-time simulation at the same time in both the boards. I download the models one after the other (Build & Deploy workflow). However, I am looking for ideas to control the real-time execution start time. I would like to control this via WSL command line. What are some suggested workflows?
採用された回答
MathWorks Support Team
2024 年 3 月 31 日
編集済み: MathWorks Support Team
2024 年 3 月 31 日
The following discusses some suggested workflows for this procedure:
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!