How can I execute an elf file in Raspberry Pi?

1 vue (au cours des 30 derniers jours)
Krishna
Krishna le 6 Fév 2018
Commenté : Shekhar patil le 10 Juin 2020
I am trying to integrate between Matlab and Raspberry Pi. Integration part works fine but when launching the code, I am not sure if the application is running or not and if so how can I view it on Raspberry Pi, plus How can I execute an elf file in Raspberry Pi?
  1 commentaire
Minulakshmi S
Minulakshmi S le 3 Sep 2019
Can you let me know how you resolved the issue?
Thanks in advance

Connectez-vous pour commenter.

Réponses (1)

Walter Roberson
Walter Roberson le 6 Fév 2018
You can use ssh() to remotely connect to the Pi. Once there use the Linux shell commands ps and top to check active processes.
On Pi, as on any other Linux, executables can be started by giving their name on the command line. There is a path involved so sometimes it is easier to just give the full path. For example
/usr/local/bin/awk
to start awk from the listed path
  2 commentaires
Krishna
Krishna le 9 Fév 2018
Thank you for replying. I have tried with the info you have provided but it didn't work according to what I wanted. But now my MATLAB code integrates on Raspberry Pi.
Shekhar patil
Shekhar patil le 10 Juin 2020
Hi Krishna,
Could you please share, how did you integrate your MATLAB code on Raspberry Pi ?
Thanks in advance

Connectez-vous pour commenter.

Catégories

En savoir plus sur MATLAB Support Package for Raspberry Pi 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!

Translated by