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

3 ビュー (過去 30 日間)
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)?

採用された回答

Abhi Sundararaman
Abhi Sundararaman 2017 年 9 月 22 日
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: https://www.mathworks.com/help/simulink/ug/functions-supported-for-code-generation-alphabetical-list.html
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: https://www.mathworks.com/hardware-support/raspberry-pi-matlab-coder.html )
Or you can use Simulink, and generate code using the raspberry pi support package for simulink : https://www.mathworks.com/hardware-support/raspberry-pi-simulink.html
  2 件のコメント
Adam Hug
Adam Hug 2020 年 2 月 20 日
Code generation is available for fmincon starting in the R2019b release. Learn more here.
Walter Roberson
Walter Roberson 2020 年 2 月 20 日
Thanks, Adam.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMATLAB Support Package for Raspberry Pi Hardware についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by