Simulink 2017a and 2017b compatibility issue: "Changing entity attributes or its system properties ("entitySys") is not allowed in Preempt action"
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentar
Sujit Muduli
am 19 Mär. 2018
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.
Antworten (0)
Siehe auch
Kategorien
Mehr zu Simulink Functions finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!