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

조회 수: 4 (최근 30일)
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
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 CenterFile Exchange에서 Deployment, 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