Build Error in MBDToolboxMPC574xPReleaseV2.0.0

cancel
Showing results for 
Search instead for 
Did you mean: 

Build Error in MBDToolboxMPC574xPReleaseV2.0.0

374 Views
yyang
Contributor II

Dear engineer:

I install MBD Toolbox for MPC574xP ReleaseV2.0.0 in MATLAB R2017b.When I build an example,there was an error,"Undefined function 'slsfnagctlr' for input arguments of type 'char'".I do not know how to solve this problem,could you help me?

pic1.png

the example :

pic2.png

best regards

Tags (1)
0 Kudos
3 Replies

117 Views
dumitru-daniel_
NXP Employee
NXP Employee

Hi yyang‌,

We know about this issue. The MATLAB has changed the slsfnagctrl() API in the 2017b release.

The toolbox for MPC5744P was released before MATLAB 2017b therefore we could not anticipated such changes.

Can you revert to a previous MATLAB release (2015a - 2017a) ?

paulvlase‌,

Can you evaluate if a patch is possible for supporting 2017b with this toolbox ?

Thank you!

Daniel

0 Kudos

117 Views
yyang
Contributor II

Hidumitru-daniel.popa‌,

I have solved this problem  “Undefined function or variable 'lic_err' ” ,by replace the mbd_pnt_hostid.p file.

Now I have another question:

Can I use PE MULTILINK UNIVERSAL or Jlink to download the program to my target MCU(S32K or MPC7544P) in MATLAB ?

777.bmp

Thank you!

0 Kudos

117 Views
yyang
Contributor II

Hi dumitru-daniel.popa

Thanks for your reply!

I try it in MATLAB R2015b,there is another Error .

I have applied a license from NXP website,and put the license file in lic folder.

1.bmp

0 Kudos