license error -1

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

license error -1

跳至解决方案
4,078 次查看
lethuer2
Contributor II

Hi,

I have some trouble with the license file.

I generated a license file with my host id, which is shown here:

1.PNG

The generated license.dat file is stored in the correct directoty:

2.PNG

The toolbox is installed in the standard folder: C:\MCToolbox

The path is setted correctly:

>> mcd_kv_path
Treating 'C:\MCToolbox\mctbx_Kinetis' as MCD Toolbox installation root.
MCD Toolbox path prepended.
Successful.

But I still get this error message while building the model:

3.PNG

I have restarted MATLAB and windows.
Please give me some instructions... I don't have any idea anymore.

0 项奖励
1 解答
874 次查看
dumitru-daniel_
NXP Employee
NXP Employee

Hi lethuer‌,

Can you please change the license file extension from .dat into .lic

That should make it work.

Hope it helps!

Daniel

在原帖中查看解决方案

2 回复数
875 次查看
dumitru-daniel_
NXP Employee
NXP Employee

Hi lethuer‌,

Can you please change the license file extension from .dat into .lic

That should make it work.

Hope it helps!

Daniel

874 次查看
lethuer2
Contributor II

You are right !

Thank you very much :smileyhappy:

0 项奖励