MBD Tool Box licensing for Matlab code gen

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

MBD Tool Box licensing for Matlab code gen

1,104 Views
PaulSMagna
Contributor II

I have matlab 2020b without a maintenance license from Matlab, so I cannot install the MBDTool box via the addon manager in Matlab.

I have to manually add the toolbox. I have the Toolbox installed. However, I have failed to properly configure Matlab with the NXP MDBTool box licenses. 

I get this error with attempt to autocode as follows:

License Error: -1, Model-Based Design Toolbox License Missing, please go to The Model-Based Design Development Toolbox Web Site to get a free license or request a demo. Provide the following HostID: 6607636e Component:NXP MBD Toolbox | Category:Block error

I have generated a licenses with that HostID, in several configurations, using my laptop Name as follows Disk Serial Number: 6607636e (TRYNBJDDGNN3) Generated By: Paul Stumpo on Oct 21, 2022 below is the license.dat file #Model-Based Design Toolbox for MATLAB/Simulink - Model-Based Design Toolbox #for S32K1xx Automotive Microprocessors Family for Paul Stumpo Software Account # License for 6607636e TRYNBJDDGNN3 INCREMENT MC_Toolbox_S32K freescale 1.0 22-jul-2042 uncounted \ VENDOR_STRING="Model-Based Design Toolbox for S32K1xx \ Automotive Microprocessors Family" HOSTID=6607636e \ ISSUER="Freescale Semiconductor" ISSUED=21-oct-2022 ck=202 \ SN="FSL - 40339937" TS_OK SIGN="0BC2 80A0 C224 30FA DF92 76E0 \ 686D 900E E301 B137 174C 382A 8B6E 76B8 A588 0BE0 3274 36A4 \ 89EE CD60 47E6 963E DCF6 096D C4B4 5D04 DCEF 77B5 C77D 8BC5"

 

I need direction on where to place this file or how to load the license.dat file into Matlab so that it will recognize the toolbox

best regards

paul

 

0 Kudos
Reply
2 Replies

1,085 Views
SorinIBancila
NXP Employee
NXP Employee

Hello,

After you have generated the license file and downloaded it on your computer, you must save inside the toolbox's folder, in a dedicated folder called "lic". Please check the attached image.

Let me know if this solution helps you.

Best regards,

Bancila Sorin Ioanid

0 Kudos
Reply

1,084 Views
PaulSMagna
Contributor II

Hi SorinlBancila 

thanks for the confirmation. it is now working properly