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

25 ビュー (過去 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
  1 件のコメント
Alexander Oerder
Alexander Oerder 2016 年 2 月 28 日
Hi, I had to revert my working copy until I found a functional commit. This obviously is no solution.

サインインしてコメントする。


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 Center および File ExchangeSimulink Functions についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by