Is the loaded variable from workspace into simulink model will be automatically deployed to raspberry Pi?
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentario
Jagadeesh Konakalla
el 23 de Nov. de 2023
Hi,
Can you please share the simplified model of Simulink to reproduce the issue on our end ?
Thanks,
Jagadeesh K.
Respuestas (0)
Ver también
Categorías
Más información sobre Raspberry Pi Hardware en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!