Simulink 2017a and 2017b compatibility issue: "Changing entity attributes or its system properties ("entitySys") is not allowed in Preempt action"
1 回表示 (過去 30 日間)
古いコメントを表示
Hi,
I have upgraded to Matlab 2017b but now a Simevents/Simulink model I developed in 2017a no longer works. More specifically I get the following error message "Changing entity attributes or its system properties ("entitySys") is not allowed in Preempt action for block 'BufferModel/Process 1/Entity Server'. See Preempt action, line 1, column 1."
This error arises when an entity is preempted in a server. I have an "Event action" for the preemption which changes an attribute of an entity (see image below). In 2017b my model now crashes.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/170807/image.png)
How can I solve this issue?
Any help would be greatly appreciated.
1 件のコメント
Sujit Muduli
2018 年 3 月 19 日
Hi Striker,
I don't know if you are still facing this issue, would it be possible to share you model. You may reach out to MathWorks Technical Support along with the crash log and crash reproduction steps.
回答 (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!