Model-Based Design Toolbox for S32K1xx Automotive Microprocessors in matlab

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

Model-Based Design Toolbox for S32K1xx Automotive Microprocessors in matlab

751 Views
pratayay123
Contributor III

My matlab version is matlab 2019a and Model-Based Design Toolbox for S32K1xx Series Version 4.2.0.

When I am opening the simulink model Observer_Model.mdl from M9_2018.R1 , all the libraries are showing as "unresolved link".

Could you please help me to resolve this issue.

pratayay123_1-1614757570994.png

 

 

 

0 Kudos
1 Reply

739 Views
mariuslucianand
NXP Employee
NXP Employee

Hello @pratayay123 ,

The problem you are facing is caused by the fact that the model was released a couple of versions ago and since then the location of the blocks has changed. not only the MBDT blocks but also the AMMCLIB library has been changed as well.  One way of solving that is the following:

1. double click on the one block with Unresolved Link.

mariuslucianand_2-1614763325097.png

So this link has to be replaced with the correct one. Now, for the particular case, The old one was "ammclib_bam_s32k14x/GFLIB/bam_f16/GFLIB_ControllerPIr_F16" while the new one is "ammclib_bam_S32K14x/GFLIB/F16/GFLIB_ControllerPIr_F16".

The ammclib_bam_s32k14x must be replaced with ammclib_bam_S32K14x

while the bam_f16 must be replaced with F16.

 

2. Te second option is to open the Unresolved link Block, double click on the link in the Details, search for the required block and replace it in the model.

mariuslucianand_3-1614763693860.png

Hope this helps,

Marius

 

 

0 Kudos