- Some of them are model with an S-function model block only, other let's say standard Simulink blocks;
- S-function model has Standard math Library set to "C99(ISO)" while others has "C89/C90(ANSI)"
- When building I get the TflCheckSum difference
Build problems due to TflCheckSum difference
조회 수: 39 (최근 30일)
이전 댓글 표시
I try to compile a model with Subsystems and get following error message:
Error building model 'OCV_SOC_calculation'. The current model configuration differs from the model configuration used to generate the shared utility code folder, 'C:\local_data\ESREC\SOCmodel\slprj\ert\_sharedutils'.
If I check the parameter difference, the only difference between the model and the sharedutil folder is the TflCheckSum, which i cannot modify in the parameter dialog. All other params are equal.
Thanks a lot for the help!
댓글 수: 3
Tong Zhao
2022년 2월 2일
이동: Stefanie Schwarz
2025년 10월 18일 19:14
Hi Stefan,
Have you resolved this problem? I have exactly the same issue like yours. The TflCheckSum is the only difference between top level model and referenced model. Specifically my error message reads:
Error using coder.internal.infoMATFileMgr
Error building model 'SiMappedEngineV'. The current model configuration differs from the model configuration used to
generate the shared utility code folder,
'C:\Users\xx\MATLAB\Projects\examples\SS\main\Work\slprj\rsim\_sharedutils'.
Click here to review parameter differences between 'SiMappedEngineV' and
'C:\Users\xx\MATLAB\Projects\examples\SS\main\Work\slprj\rsim\_sharedutils'.
Collin Spencer
2022년 9월 8일
이동: Stefanie Schwarz
2025년 10월 18일 19:43
Are there any updates on this? I'm experiencing the same error and there appears to be no way to resolve it.
The model does not contain model reference.
답변 (3개)
Bhavanithya Thiraviaraja
2018년 5월 8일
Hi,
I had the exact same problem. The configuration parameters of the top model and the referenced models have to be the same.
I found that there was a difference in the " Code Generation - Interface" Setting in my model. The Standard math Library of the top model was "C99(ISO)" whereas the referenced models had "C89/C90(ANSI)". After changing it to "C99(ISO)" the problem got resolved.
댓글 수: 1
Tobias Huth
2018년 7월 19일
I had the same issue with my model. Luckily, I found your answer after just 2 hours of trying to fix it myself.
Thank you!!
Julia Antoniou
2017년 10월 25일
Hi Stefan,
To resolve this error, I would first recommend deleting any "SLPRJ" folders the compiling may have created, and then trying again to compile the model.
I do not believe there is anything specific to subsystems that would cause this error. If your model has model references, this error could be caused by conflicting Configuration Parameters within those model references. If your model has S-Functions, try regenerating any MEX files needed for the model.
Jean Matthieu
2023년 7월 6일
편집: Stefanie Schwarz
2025년 10월 18일 19:16
Hello,
I've had the same issue, no referenced model in my model. I've found no solution on the Internet but found the solution anyway.
When I generate, I have the error:
The current model configuration differs from the model configuration used to generate the shared utility code folder
Even though I deleted the slprj folder, the same error appears.
In my folder, I have MyModel.slxc that exists. Deleting it solved my problem.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Simulink Functions에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!