Customizing subsystem numbers in generated code

I am using r2010b. The generated code refers to subsystem numbers (S1, S2).
  • '<Root>' : cmp
  • '<S1>' : cmp/Subsystem
  • '<S2>' : cmp/Subsystem/Chart
I would like to customize the numbering scheme so that a subsystem always gets a predefined number (maybe defined in the description of the subsystem). I have observed that adding another subsystem to the model and then generating code results in re-numbering of the subsystems. And if I do a diff between the earlier and new files, I see a lot of differences (most of which are due to the modified numbers). I would like to avoid this.
Any help is greatly appreciated.

댓글 수: 1

Pawan: I don't think it is currently possible to customize the subsystem IDs. I would recommend confirming this with MathWorks Tech Support and have them file an enhancement request if the functionality doesn't exist indeed.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터File Exchange에서 Deployment, Integration, and Supported Hardware에 대해 자세히 알아보기

질문:

2012년 8월 23일

Community Treasure Hunt

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

Start Hunting!

Translated by