![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1767354/image.png)
Embedded Coder를 통해 Generate Code에 의해 생성된 코드 주석 의미 문의
1 view (last 30 days)
Show older comments
코드 생성시 Sum은 Sum 블럭에 대한 주석인게 이해가 되는데 <S1>의 의미는 무엇일까요?
/* Sum: '<S1>/Sum' incorporates:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1767334/image.png)
0 Comments
Accepted Answer
Angelo Yeo
on 6 Sep 2024
<S1>, <S2>, <S3>,... 등은 모델 내부적으로 사용하는 시스템 구분자(system identifier)입니다만, 모델 내부 컴포넌트의 이름에 매핑되는 것은 아니기 때문에 이름만으로는 헷갈릴 수 있습니다. 또, 모델 상의 기능적인 변화가 생기면 이 값은 변경되기도 합니다.
해당 시스템 구분자에 관한 정보는 생성된 파일에 포함되어 있습니다. 아래는 헤더 파일에 포함된 system identifier의 정보입니다. <S1>, <S2>, ... 등의 주석의 설명을 클릭하면 해당 서브시스템을 트래킹할 수 있으며 hilite_system 함수를 이용해 <S1>, <S2> 등의 값이 의미하는 서브시스템을 확인할 수도 있습니다.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1767354/image.png)
More Answers (0)
See Also
Categories
Find more on Deployment, Integration, and Supported Hardware in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!