How to activated the license in matlab 2018b

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

How to activated the license in matlab 2018b

跳至解决方案
6,390 次查看
zhouke
Contributor II

Did anybody activated the model-based design toolbox in matlab 2018b?

I have tried many times ,but failed 

0 项奖励
回复
1 解答
5,100 次查看
zhouke
Contributor II

Hi lulian

       Thanks for you reply. When I changed the install path of matlab toolbox.

the problem is solved

Many thanks 

Terry.

在原帖中查看解决方案

0 项奖励
回复
9 回复数
5,101 次查看
zhouke
Contributor II

Hi lulian

       Thanks for you reply. When I changed the install path of matlab toolbox.

the problem is solved

Many thanks 

Terry.

0 项奖励
回复
5,100 次查看
iulianbulancea
NXP Employee
NXP Employee

      Hi Zhou Ke,

      As you can see in the image below, there is a space character in the full path to the mex file "sim_spt20_mex.mexw64", which in fact contains the SPT 2.0 simulator, so the license tool will not work.

license_error.png

      If you say that the toolbox works on MATLAB 2017b, but not on MATLAB 2018a, that means that you install it once on MATLAB 2017b and once on MATLAB 2018a. There is no need to install it on MATLAB 2018a if you install it on MATLAB 2017b. MATLAB 2018a can see all the toolboxes installed on MATLAB 2017b. In order to be sure of this, can you send me an image with the list of add-ons from both MATLABs? You can find the list of add-ons from "Home->Add-Ons->Manage Add-Ons".

manage_add_ons.png

The image should look like this:

list_add_ons.png

Also, I will need the result of the command "which add_mex" from both MATLABs.

Thank you,

Iulian Bulancea

0 项奖励
回复
5,100 次查看
iulianbulancea
NXP Employee
NXP Employee

Hi Zhou Ke,

You get the error because the license check tool does not support paths containing spaces. 

Thank you,

Iulian Bulancea

0 项奖励
回复
5,100 次查看
zhouke
Contributor II

Sorry I don't understand this . My license file is located in this folder (C:\Users\zhouke\AppData\Roaming\MathWorks\MATLAB Add-Ons\Toolboxes\NXP_Radar_Toolbox_for_S32R\license)

and the path is not include any spaces 

0 项奖励
回复
5,100 次查看
zhouke
Contributor II

Hi Bulancea

      the license.dat file is already copied in the license folder , but still not activated  .

and I already test the license file can do will in the matlab 2017 but can not work in 2018b

微信截图_20181221184735.png微信截图_20181221185130.png

0 项奖励
回复
5,100 次查看
iulianbulancea
NXP Employee
NXP Employee

Hi Zhou Ke,

Could you verify if there is a license.dat file in the license folder. If there is not you must copy the license file here.

SPT_Toolbox_license.PNG

Thank you,

Iulian Bulancea

0 项奖励
回复
5,100 次查看
zhouke
Contributor II

微信截图_20181221152439.png

0 项奖励
回复
5,100 次查看
zhouke
Contributor II

here is the license file

#Model-Based Design for SPT - Model-Based Design for SPT 2.0 Toolbox for zhou
#ke Software Account
# License for DISK_SERIAL_NUM=AC7528AE terryzhou
INCREMENT MBD_Toolbox_SPT_2.0 freescale 1.0 permanent uncounted \
VENDOR_STRING="Model-Based Design for SPT 2.0 Toolbox" \
HOSTID=DISK_SERIAL_NUM=ac7528ae ISSUER="Freescale \
Semiconductor" ISSUED=19-dec-2018 ck=172 SN="FSL - 25405147" \
TS_OK SIGN="120A E350 1972 6D45 6E8F 90DD 9ACC EE96 D41B AE0B \
699E FE9A C0B4 4A45 0206 0467 DD98 4498 C79A E394 FC35 631C \
7367 93FA E9A0 1314 B92B 827A 2F81 5680"

0 项奖励
回复
5,100 次查看
Daniel_Popa
NXP Employee
NXP Employee

Hi zhouke@chengtech.net‌,

Can you post a screenshot of your NXP RADAR license file ? We want to know if you have generated the file correctly: version & node ID

Thank you!

Daniel

0 项奖励
回复