An error occurred while running the sumulation and the sumulation was terminated

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

An error occurred while running the sumulation and the sumulation was terminated

604 Views
bonggyusong
Contributor I

2.JPG

Hi I am bong gyu

I builed simulink for S32K14 Model

I saw error message

What do i check ?

I want you to help me !

2 Replies

497 Views
dumitru-daniel_
NXP Employee
NXP Employee

Hi bonggyusong‌,

You can disable these errors from the Simulink Configuration Parameters/Data Validity.pastedImage_1.png

Alternatively, you can modify the model to include a unit delay between read and write data blocks.

Hope this helps!

Daniel

0 Kudos

497 Views
paulvlase
NXP Employee
NXP Employee

Hi bonggyusong‌,

You can set different priorities for Data Store Read and Write blocks. Open the block properties dialog for the Data Store Write block and set 1 for the highest priority. Smaller numbers have higher priority. This way Data Store Write block will run before the Data Store Read block.

You will find more info here Control and Display the Sorted Order- MATLAB & Simulink .