Build Error in MBDToolboxMPC574xPReleaseV2.0.0

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

Build Error in MBDToolboxMPC574xPReleaseV2.0.0

1,015 次查看
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

标记 (1)
0 项奖励
回复
3 回复数

758 次查看
Daniel_Popa
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 项奖励
回复

758 次查看
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 项奖励
回复

758 次查看
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 项奖励
回复