Is the loaded variable from workspace into simulink model will be automatically deployed to raspberry Pi?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaire
Jagadeesh Konakalla
le 23 Nov 2023
Hi,
Can you please share the simplified model of Simulink to reproduce the issue on our end ?
Thanks,
Jagadeesh K.
Réponses (0)
Voir également
Catégories
En savoir plus sur Raspberry Pi Hardware dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!