필터 지우기
필터 지우기

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

조회 수: 3 (최근 30일)
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 ??

답변 (1개)

Amith
Amith 2024년 7월 22일 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!

카테고리

Help CenterFile Exchange에서 Code Interface Configuration and Integration에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by