error during build (hall sensors)MBD for MPC5744P

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

error during build (hall sensors)MBD for MPC5744P

1,378 Views
haoxue1027
Contributor IV

hello,

when i fellow the course of “read hall” to cancel the diagnostic :eTimer and GPO like this,

pastedImage_1.png

the matlab was abnormal termination .

pastedImage_2.png

I had try to simulink by version2018a  and 2019b,

the same  abnormal termination  occured ,

I found that system began to collapse until i use the Function-Call subsystem.

Is there a link between the use of subsystem and system collapse.

Can anyone help answer that question?

Can anyone help simulink the demo and see if the same problem will occur.

Any help would be greatly appreciated

best regards.

hao

0 Kudos
2 Replies

1,260 Views
constantinrazva
NXP Employee
NXP Employee

Hello haoxue1027@qq.com,

Sorry for the late reply - unfortunately I can't reproduce your issue - I've tried on MATLAB R2018a and 2019b (as mentioned in your comments) on the MPC57xx v3.1.0 toolbox.

Do you have other versions of our toolbox (Model-Based Design Toolbox for MPC57xx Series) in the MATLAB path? If yes, remove it from path and try it again. You can reset the path to default and then run a script from our toolbox to add just that version in the current path. The commands (to be ran in MATLAB terminal) are as follows:

To restore the MATLAB path to default:

restoredefaultpath

To install our toolbox in the MATLAB path:

mbd_mpc_path

Kind regards,

Razvan.

0 Kudos

1,260 Views
haoxue1027
Contributor IV

Doesn't anyone have this problem?

0 Kudos