simulink生成​的代码和target​link代码生成的区​别,可以互相替代吗?

simulink生成的代码和targetlink代码生成的区别,可以互相替代吗?
应该要做哪些更改呢?

댓글 수: 2

Walter Roberson
Walter Roberson 2026년 8월 13일 6:11
Approximate translation:
What are the differences between the code generated by Simulink and the code generated by TargetLink? Can they be used interchangeably?
What changes should be made?
ding
ding 2026년 8월 13일 6:42
Sure,Approximate translation.

댓글을 달려면 로그인하십시오.

답변 (1개)

nws
nws 대략 3시간 전

0 개 추천

Yes, Simulink/Embedded Coder generated code can often replace TargetLink generated code, but the effort depends on how heavily the model relies on TargetLink-specific features.
Typical changes required when migrating from TargetLink to Simulink/Embedded Coder include:
  • Replacing TargetLink-specific blocks and subsystems with standard Simulink equivalents.
  • Migrating TargetLink Data Dictionary entries to Simulink Data Dictionary or Simulink data objects.
  • Updating storage class and code generation settings.
  • Reconfiguring calibration and measurement variables.
  • Reviewing fixed-point/scaling configurations and mapping them to Fixed-Point Designer settings.
  • Recreating AUTOSAR mappings if the application uses AUTOSAR.
  • Regenerating and validating the code to ensure functional equivalence.

댓글 수: 1

ding
ding 대략 2시간 전
Thanks a lot ,the situation as you said is all right,

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 部署에 대해 자세히 알아보기

제품

릴리스

R2022b

질문:

2026년 8월 13일 2:16

댓글:

대략 15시간 전

Community Treasure Hunt

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

Start Hunting!