Coder codegen on multiple cores

Is it possible to run codegen on multiple cores / threads? Currently codegen takes quite a while and I imagine it would be faster if multiple cores were used.

回答 (1 件)

Denis Gurchenkov
Denis Gurchenkov 2022 年 9 月 30 日

0 投票

Unfortunately, no, MATLAB Coder / codegen can't run in parallel. It is a good idea and the development team is aware of it, but this task is not trivial.
If you have an example that takes a long time to generate code and your example does not contain proprietary algorithms, you cna help the development team by sharing your code. We can profile, lear what part of the code generation process is slow, and try to make codegen faster. If you can share your code, please contact MathWorks technical support and ask them to pass the exaple to the MATLAB Coder develoment team.
Thanks!

カテゴリ

ヘルプ センター および File ExchangeMATLAB Coder についてさらに検索

製品

リリース

R2022a

質問済み:

2022 年 9 月 29 日

回答済み:

2022 年 9 月 30 日

Community Treasure Hunt

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

Start Hunting!

Translated by