Is the loaded variable from workspace into simulink model will be automatically deployed to raspberry Pi?
1 次查看(过去 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!