How can I execute an elf file in Raspberry Pi?

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 Comment

Can you let me know how you resolved the issue?
Thanks in advance

Sign in to comment.

Answers (1)

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 Comments

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.
Hi Krishna,
Could you please share, how did you integrate your MATLAB code on Raspberry Pi ?
Thanks in advance

Sign in to comment.

Categories

Find more on MATLAB Support Package for Raspberry Pi Hardware in Help Center and File Exchange

Asked:

on 6 Feb 2018

Commented:

on 10 Jun 2020

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!