Replace code for subsystem
조회 수: 2 (최근 30일)
이전 댓글 표시
Hello,
Is possible to write Code replacement library (CRL) for custom subsystem? I have found how to write CRL for functions, operations etc., but not for subsystem. I don't want write TLC file, just use something like Code replacement library.
Thanks,
Vit
댓글 수: 0
답변 (1개)
Abhisek Pradhan
2019년 8월 9일
A custom subsystem can be made into an atomic subsystem. Check Treat as atomic unit in Block Parameters of the atomic unit for enabling it for code generation. Go to Code Generation in Block parameters and set Function packaging, Function name options and File name options as per requirement. This will ensure custom subsystem appear in code generation report. Check if this helps.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!