Clear Filters
Clear Filters

How to generate Optimization toolbox functions(like fmincon )code for Raspberrypi ?

3 views (last 30 days)
Is it possible to generate raspberry pi code for MATLAB optimization functions like fmincon? Is any dedicated toolboxes (like embedded coder)needed for this( apart from the raspberry pi addon)?

Accepted Answer

Abhi Sundararaman
Abhi Sundararaman on 22 Sep 2017
Unfortunately, code cannot be generated for many functions in the optimization toolbox, like "fmincon". For the full list of functions supported by code generation, visit the following link:
However, in general code can be generated for Raspberry Pi. You can do this in two ways:
You can use MATLAB coder with the support package for raspberry pi (Visit the following link for more information: )
Or you can use Simulink, and generate code using the raspberry pi support package for simulink :

More Answers (0)


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

Community Treasure Hunt

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

Start Hunting!