필터 지우기
필터 지우기

Simulink Modell terminates with " Reference to non-existent field 'accessInfoMap' ", when a MATLAB Function block is involved

조회 수: 39 (최근 30일)
Hello,
my model consists of a constant, a MATLAB function and a terminator. The MATLAB Function Code is default. When the MATLAB Function is active, the model Terminates with:
"Reference to non-existent field 'accessInfoMap'. Component: Simulink | Category: Model error"
When I comment the function out, the model is solved without problems. Where can I look for a solution?
Thank you very much.

채택된 답변

Alexander Oerder
Alexander Oerder 2016년 9월 18일
Found the solution. Deleting the slprj folder worked fine for me.

추가 답변 (5개)

FabianHaas
FabianHaas 2016년 2월 28일
Hi,
i have the same problem. Did you get any solution for your problem? Or does anyone now how to fix it?
Thanks

Dmitriy Vorobyov
Dmitriy Vorobyov 2016년 7월 18일
Hi,
I have the same problem when trying to start parallel simulation. Try to delete temp files in your working directory.

Cristina Manas
Cristina Manas 2016년 8월 3일
Also having problem here with very simple block of code which if I take out that module then it works but same error without.
Was all working then suddenly stopped working and can't think what has changed to stop it working
Any ideas?

Pavel Dey
Pavel Dey 2019년 10월 23일
I got a similar error.
Error encountered while executing PostCodeGenCommand for model '<model name>': Reference to non-existent field 'compileInfoVersion'.
Deleting slprj folder fixed the issue. Or you can also build the same model in some other folder.
  댓글 수: 1
Niklas Witzel
Niklas Witzel 2022년 6월 29일
Quite old topic, but i got the same error (Reference to non-existent field 'compileInfoVersion'.), when using Embedded Coder. Removing the slprj/ directory, the models *.slxc file, and the previously generated code in the *_ert_rtw/ directory worked for me.

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


Liang Zong
Liang Zong 2019년 12월 31일
also having similar issue: "Reference to non-existent field 'AUTOSAR4' "
By deleting slprj folder fixed this issue.

카테고리

Help CenterFile Exchange에서 Simulink Functions에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by