How do I call a saved file in Raspberry pi into my simulink stand alone code running in the Raspberry pi?
6 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hey So I have a simple simulink code that takes a .mat file as an input and displays a graph. I now have deployed the Simulink code in the raspberry pi. I have put a .mat file in raspberry pi using putFile(rpi,' ') . I want to call this file in my simulink code , which is already deployed in raspberry pi and run it(using sudo ./modelname.elf ) and then get its data to my computer using getFile command. But I am unable to call this file to my simulink code. I was using the To File block for the computer simulations but inorder to run the standalone file saved in raspberry pi,I cannot seem to do so.
0 commentaires
Réponses (1)
Von Duesenberg
le 17 Fév 2018
I use the To File block to save the output of my standalone model running on my RPi 3, and it works seamlessly. To open a .mat file, you might want to try the From File block.
Voir également
Catégories
En savoir plus sur Run on Target Hardware dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!