How to get all possible _sharedutils files generated from Simulink model using ert.tlc?

5 ビュー (過去 30 日間)
Niravkumar Ambaliya
Niravkumar Ambaliya 2025 年 5 月 13 日
コメント済み: Vidip 2025 年 7 月 24 日
When I generate code from model using ert.tlc, I see there are certain utility files which are generated under "slprj\ert\_sharedutils". I am trying to get all the possible files which Simulink code generation will create.
One way would be create a model which has all the necessary blocks with all possible settings and then generate code. But this is not practical and this does not guarantee that all possible combinations are covered.
I tried looking under Matlab installation folder to see if these files are static. Unfortunately, they are generated everytime code generation is executed.
Is there an easy way to get all the _sharedutils files? I am using R2023b version of Matlab.
  2 件のコメント
Mark McBroom
Mark McBroom 2025 年 5 月 17 日
Why do you need this list?
Vidip
Vidip 2025 年 7 月 24 日
I undertstand that you want an exhaustive list '_sharedutils' files but there is no direct or documented way to obtain a complete list of all possible '_sharedutils' files generated by Simulink’s ERT code generation in MATLAB R2023b.
These utility files are created dynamically based on the specific blocks and settings used in your model, and their set can change with different models or MATLAB versions. Because the code generator only creates utility files for functions actually needed by your model.

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

回答 (0 件)

カテゴリ

Help Center および File ExchangeDeployment, Integration, and Supported Hardware についてさらに検索

製品


リリース

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by