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.
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".
The image should look like this:
Also, I will need the result of the command "which add_mex" from both MATLABs.
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
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
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.
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"