Develop standalone stateflow to run independently on Raspberry Pi

how do i develop stateflow in matlab on desktop for raspberry pi and make it run independently on raspberry pi ? meaning it will run the model after i power cycle the raspberry pi.

Answers (1)

But the thing I want to do is to make it run even after I power cycle Raspberry P
Anyone have a simple and easy solution to make it?
NO. The tools provided do not make it "simple and easy". The Raspberry Pi version of Linux does not provide any simple mechanism such as "just name the file standalone" -- Linux provided multiple mechanisms to execute programs at startup, some of which are described at the link I provided.
Is it possible to do? Yes. I provided a link that describes 5 different ways to do it.
Are there available tools that make it easier? There might be. Perhaps one of the tools listed at https://www.opensourceforu.com/2017/06/top-ides-raspberry-pi/ makes it easier, or maybe there are other tools available for the purpose. But you would have to track one down and install the appropriate parts on your desktop and on the Raspberry, and doing that is very likely to involve configuration file changes more complex than the ways described at the link I gave.

Categories

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

Asked:

on 3 May 2023

Answered:

on 5 May 2023

Community Treasure Hunt

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

Start Hunting!