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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

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

602 次查看
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 回复数

495 次查看
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 项奖励

495 次查看
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 .