Replace code for subsystem

2 visualizaciones (últimos 30 días)
Vit Valek
Vit Valek el 31 de Jul. de 2019
Comentada: Vit Valek el 12 de Ag. de 2019
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

Respuestas (1)

Abhisek Pradhan
Abhisek Pradhan el 9 de Ag. de 2019
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 comentario
Vit Valek
Vit Valek el 12 de Ag. de 2019
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

Iniciar sesión para comentar.

Categorías

Más información sobre Deployment, Integration, and Supported Hardware en Help Center y File Exchange.

Productos


Versión

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by