Is the loaded variable from workspace into simulink model will be automatically deployed to raspberry Pi?
3 ビュー (過去 30 日間)
古いコメントを表示
Hello everybody,
I am doing the project on deploy simulink model into the Raspberry Pi board. I can run this simulink model with Gazebo that utillize the ROS /odom subscriber and /cmd_vel publisher. But when I deployed the simulink model into the Raspberry Pi and run the execuable file Its seem that there is nothing running between raspberry pi and gazebo. Therefore, I think about maybe if the simulink model that require the variable data from workspace from MATLAB (Usually, I have to load the variable everytime I want to run the simulink model with Gazebo) did not automatically deployed with the model. Before I deployed simulink model into Raspberry Pi, I have run the simulink model which i already loaded the variable into the simulink model. By the way, I deployed the simulink model to be C++.
The variable that have to be used
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1546287/image.png)
The simulink model
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1546292/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1546297/image.png)
If the variable did not automatically loaded with simulink model How can I deploy or fixed this problem.
Thank you so much in advance for your help.
1 件のコメント
Jagadeesh Konakalla
2023 年 11 月 23 日
Hi,
Can you please share the simplified model of Simulink to reproduce the issue on our end ?
Thanks,
Jagadeesh K.
回答 (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!