MPC5744P FreeMASTER Error

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

MPC5744P FreeMASTER Error

跳至解决方案
1,009 次查看
260068845
Contributor III

Hello,


     I refer to the FreeMASTER Interface in Chapter 8 of the MPC5744P document "Model-Based Design Toolbox User Manual" for FreeMASTER testing. However, after I finished those steps, I am getting an error when compiling. The error message is as shown below. What is the problem? What? The engineering documentation is in the attachment, thank you for your answers.

捕获.PNG

0 项奖励
1 解答
910 次查看
constantinrazva
NXP Employee
NXP Employee

Hello 260068845@qq.com‌,

Did you have an earlier version of the toolbox installed? To be sure, can you try and reset the MATLAB path? For that you should go to MATLAB Home tab -> Set Path -> Click on Default -> Then click on Save.

Capture.JPG

Untitled.png

and then run the mbd_mpc_path script so you install the path for the toolbox over a fresh, default MATLAB path. 

 

Note: you will lose other paths other than the default + MPC toolbox paths by doing this. Consider saving the current  contents of your MATLAB path (you can get it by typing matlabpath in the MATLAB terminal for instance).

 

Note: this file is located in {INSTALL_ROOT}/src.

I'm asking this because I cannot replicate the issue you are having - but I can get an error using some older tlc files in conjunction with the new toolbox (the one that you have installed). This is the reason why I assume this to be the problem. Please let me know if this does the trick.

 

Kind regards,

Razvan.

在原帖中查看解决方案

0 项奖励
4 回复数
910 次查看
constantinrazva
NXP Employee
NXP Employee

Hello 260068845@qq.com‌,

Could you confirm that you are using version 3.0.0 of our MPC toolbox? And also could you run the following command in MATLAB terminal and share the output with me?

ver

I could not reproduce your error, thus I'm thinking maybe you have files from previous version of the MPC toolbox shadowing the ones from v3.0.0. 

Kind regards,

Razvan.

0 项奖励
910 次查看
260068845
Contributor III

Hello,constantinrazvan.chivu

   I sure the version of the MPC toolbox is v3.00.

pastedImage_1.pngpastedImage_2.png

0 项奖励
911 次查看
constantinrazva
NXP Employee
NXP Employee

Hello 260068845@qq.com‌,

Did you have an earlier version of the toolbox installed? To be sure, can you try and reset the MATLAB path? For that you should go to MATLAB Home tab -> Set Path -> Click on Default -> Then click on Save.

Capture.JPG

Untitled.png

and then run the mbd_mpc_path script so you install the path for the toolbox over a fresh, default MATLAB path. 

 

Note: you will lose other paths other than the default + MPC toolbox paths by doing this. Consider saving the current  contents of your MATLAB path (you can get it by typing matlabpath in the MATLAB terminal for instance).

 

Note: this file is located in {INSTALL_ROOT}/src.

I'm asking this because I cannot replicate the issue you are having - but I can get an error using some older tlc files in conjunction with the new toolbox (the one that you have installed). This is the reason why I assume this to be the problem. Please let me know if this does the trick.

 

Kind regards,

Razvan.

0 项奖励
910 次查看
260068845
Contributor III

Helloconstantinrazvan.chivu‌,

      According to your method,I can build my model successfully. Thank you very much. 

Best regards,

Zewu

0 项奖励