Replace code for subsystem

2 次查看(过去 30 天)
Vit Valek
Vit Valek 2019-7-31
评论: Vit Valek 2019-8-12
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

回答(1 个)

Abhisek Pradhan
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.
  1 个评论
Vit Valek
Vit Valek 2019-8-12
Hi Abhisek,
Your answer didn't help me but thanks for your response. I know there is options Treat as atomic unit and so on. But I need replace this "atomic unit" by custom code (or function call).
Vit

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Deployment, Integration, and Supported Hardware 的更多信息

产品


版本

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by