Difference between Simulink Coder and Embedded Coder

77 ビュー (過去 30 日間)
Saber 2015 年 8 月 3 日
回答済み: Bill Chou 2022 年 6 月 13 日
Would you please let me know what is difference between two toolboxs "Simulink Coder" and "Embedded Coder"? And is there any possibility to generate c++ code from Embedded coder?


Sebastian Castro
Sebastian Castro 2015 年 8 月 3 日
編集済み: Sebastian Castro 2019 年 2 月 20 日
Both Simulink Coder generate C code from Simulink models, and both of them can put that C code in a C++ wrapper to be effectively integrated with other C++ code.
The main difference between these products is:
  • Simulink Coder generates code with the purpose of the model being able to run standalone without a MATLAB license, or to verify the behavior of the generated code on a host computer.
  • Embedded Coder generates readable code that can be much more finely configured, customized, and optimized through various settings and constructs. Embedded Coder also provides support for automatically building the generated code on embedded systems (hence its name).
- Sebastian
  6 件のコメント
vijay patil
vijay patil 2019 年 2 月 20 日
thax for such gret answers ...!!


その他の回答 (1 件)

Bill Chou
Bill Chou 2022 年 6 月 13 日
As others have mentioned:
  • MATLAB Coder enables users to generate C/C++ code from MATLAB algorithms
  • Simulink Coder does the same for Simulink models
  • Finally, Embedded Coder is an add-on to either MATLAB Coder or Simulink and unlocks additional code optimization, verification, and targeting capabilities (such as PIL)
For those interested, you can find a list of additional capabilities that Embedded Coder adds to MATLAB Coder here:

Community Treasure Hunt

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

Start Hunting!

Translated by