How do I call a saved file in Raspberry pi into my simulink stand alone code running in the Raspberry pi?
5 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commenti
Risposte (1)
Von Duesenberg
il 17 Feb 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.
Vedere anche
Categorie
Scopri di più su Run on Target Hardware in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!