Azzera filtri
Azzera filtri

can simulink code generated unique codes can be kept same irrespective of simulink version ?

3 visualizzazioni (ultimi 30 giorni)
whenever matlab generates a code it assigns unique code for each subsystem and its used for classification of parameters from that particular subsytem , here the problem is everytime the user uses different version of matlab ,in the subsystem this code numbers gets changed and there is lot of manual work involved in mapping these parameters used in hand written codes for interfaces , hence I wanted to check if there is any configuration settings available in the simulink to keep the unique subsystem code representations same irrespective of code gen in any version of matlab/simulink ??

Risposte (1)

Amith
Amith il 22 Lug 2024 alle 2:04
Hi Megha,
You can use Embedded Coder to integrate generated C code from previous releases with generated code from the current release when the source models are single-rate and the generated C code is from:
  • Top-model or subsystem build processes that use the nonreusable function code interface.
  • Single or multiple instance model reference build processes that suppress error status monitoring (SuppressErrorStatus is on).
If you can reuse existing code without modification, you can reduce the cost of reverification.
You can learn more about Cross-Release Code Integration from this MathWorks resource:
Hope this helps!

Categorie

Scopri di più su Code Interface Configuration and Integration in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by