MBD Toolbox V3.0 Examples run error

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

MBD Toolbox V3.0 Examples run error

1,336 Views
李风heart
Contributor II

I reinstalled MBDTool V3.0 on my computer, also generate license.dat and put it into lic Folder, but when I run the example 'gpio_s32k14', there is something wrong like this:pastedImage_1.png 

I don't know how it happens, and how can I solve this?

I have restored the default MATLAB path and it doesn't work.

Thanks,

Feng

0 Kudos
8 Replies

965 Views
joshisr
Contributor I

I was facing same kinda issue, but now its resolved. Here's what I did ~

1. Followed procedures given by Constantin Razvan Chivu Employee

But it still didn't work for me;

2. I reinstalled the NXP MBDT S32 packages on MATLAB, also generated license file again and got everything setup like before.

What I've observed is that ~ We modify the license file, try renaming it ~ which we should avoid.

Try doing step 2, I think it will fix the issue.

0 Kudos

965 Views
李风heart
Contributor II

 Hi joshisr,

   I have reinstalled MBDTool many times ,but it always have the same error, But there are some thing confused me: how to uninstall the MBDTool correctly? I just deleted the folder where it installed, are there some offical uninstall tool or method for user? Or I just need to delete the folder and install MBDTool time and time again?

0 Kudos

965 Views
constantinrazva
NXP Employee
NXP Employee

Hello 李风heart ,

Can you open a command prompt on your computer and run the following command

vol

pastedImage_4.png

and tell us if the Volume Serial Number matches the one from the license file?

pastedImage_6.png

(this is from license.dat file)

Kind regards,

Razvan.

0 Kudos

965 Views
李风heart
Contributor II

Hi Razvan,

Thanks for your response.The Disk Serial Number is same to tle Number in lic file. 

pastedImage_1.png

pastedImage_3.png

And there is another phenomenon, after I remove license.dat from lic file, the model has the same error information like thispastedImage_5.png

0 Kudos

965 Views
constantinrazva
NXP Employee
NXP Employee

Hello,

Can you try for the moment the workaround proposed by hongjinzeng‌ ?

Here he says the licensing worked after setting the environmental variable LM_LICENSE_FILE to the path of his license.lic file.

Can you try this out ?

Kind regards,

Razvan.

0 Kudos

965 Views
李风heart
Contributor II

Hi Razvan,

I added the lic file to the environmental variable like this:

pastedImage_1.png

But the situation remains the same.

pastedImage_2.png

0 Kudos

965 Views
paulvlase
NXP Employee
NXP Employee

Hi,

Did you restart Matlab after you added the environment variable? If not, please restart Matlab and try again.

0 Kudos

965 Views
李风heart
Contributor II

Hi,

I reboot my machine,but it still doesn't work.

0 Kudos