How can I execute an elf file in Raspberry Pi?

23 visualizzazioni (ultimi 30 giorni)
Krishna
Krishna il 6 Feb 2018
Commentato: Shekhar patil il 10 Giu 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?

Risposte (1)

Walter Roberson
Walter Roberson il 6 Feb 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 Commenti
Krishna
Krishna il 9 Feb 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 il 10 Giu 2020
Hi Krishna,
Could you please share, how did you integrate your MATLAB code on Raspberry Pi ?
Thanks in advance

Accedi per commentare.

Categorie

Scopri di più su MATLAB Support Package for Raspberry Pi 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!

Translated by