Why is Simulink Accelerator Regenerating Code?

조회 수: 1 (최근 30일)
Alexandru Bitca
Alexandru Bitca 2019년 1월 24일
I have a model which has variables stored in the model workspace.
I frequently assign new values to certain variables in the model workspace and the accelerator model is rebuilt.
Based on the process described in "Determining Why Simulink Accelerator Is Regenerating Code" I went through the following steps:
  1. I run [cs1,csdet1]=Simulink.BlockDiagram.getChecksum(model); on the initial model
  2. Assign new value to a variable
  3. Run [cs2,csdet2]=Simulink.BlockDiagram.getChecksum(model); on the final model
  4. Run checksum comparison, I get "Checksums are different"
  5. Run the comparison to understand the sources of checksum differences, I get "Contents checksums are the same and Interface checksums are the same"
I've attached the outputs of the checksum comparison.
Any ideas?
Thanks,
Alex.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Component-Based Modeling에 대해 자세히 알아보기

제품


릴리스

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by