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

2,947 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
3 Replies

2,925 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

661 Views
nampt
Contributor I
I have a question: if I only use the free MATLAB license and download the NXP Model-Based Design (MBD) Toolbox and support package, can I simulate Simulink models, and genarate code in MATLAB using MBD?
0 Kudos
Reply

2,924 Views
PaulSMagna
Contributor II

Hi SorinlBancila 

thanks for the confirmation. it is now working properly 

 

%3CLINGO-SUB%20id%3D%22lingo-sub-1542685%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EMBD%20Tool%20Box%20licensing%20for%20Matlab%20code%20gen%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1542685%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CSPAN%3EI%20have%20matlab%202020b%20without%20a%20maintenance%20license%20from%20Matlab%2C%20so%20I%20cannot%26nbsp%3Binstall%20the%20MBDTool%20box%20via%20the%20addon%20manager%20in%20Matlab.%20%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EI%20have%20to%20manually%20add%20the%20toolbox.%20%3C%2FSPAN%3E%3CSPAN%3EI%20have%20the%20Toolbox%20installed.%26nbsp%3BHowever%2C%26nbsp%3BI%20have%20failed%20to%20properly%20configure%20Matlab%20with%20the%20NXP%20MDBTool%20box%20licenses.%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EI%20get%20this%20error%20with%20attempt%20to%20autocode%20as%20follows%3A%20%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3ELicense%20Error%3A%20-1%2C%20Model-Based%20Design%20Toolbox%20License%20Missing%2C%20please%20go%20to%20The%20Model-Based%20Design%20Development%20Toolbox%20Web%20Site%20to%20get%20a%20free%20license%20or%20request%20a%20demo.%20Provide%20the%20following%20HostID%3A%206607636e%20Component%3ANXP%20MBD%20Toolbox%20%7C%20Category%3ABlock%20error%20%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EI%20have%20generated%20a%20licenses%20with%20that%20HostID%2C%20in%20several%20configurations%2C%20using%20my%20laptop%20Name%20as%20follows%20Disk%20Serial%20Number%3A%206607636e%20(TRYNBJDDGNN3)%20Generated%20By%3A%20Paul%20Stumpo%20on%20Oct%2021%2C%202022%20below%20is%20the%20license.dat%20file%20%23Model-Based%20Design%20Toolbox%20for%20MATLAB%2FSimulink%20-%20Model-Based%20Design%20Toolbox%20%23for%20S32K1xx%20Automotive%20Microprocessors%20Family%20for%20Paul%20Stumpo%20Software%20Account%20%23%20License%20for%206607636e%20TRYNBJDDGNN3%20INCREMENT%20MC_Toolbox_S32K%20freescale%201.0%2022-jul-2042%20uncounted%20%5C%20VENDOR_STRING%3D%22Model-Based%20Design%20Toolbox%20for%20S32K1xx%20%5C%20Automotive%20Microprocessors%20Family%22%20HOSTID%3D6607636e%20%5C%20ISSUER%3D%22Freescale%20Semiconductor%22%20ISSUED%3D21-oct-2022%20ck%3D202%20%5C%20SN%3D%22FSL%20-%2040339937%22%20TS_OK%20SIGN%3D%220BC2%2080A0%20C224%2030FA%20DF92%2076E0%20%5C%20686D%20900E%20E301%20B137%20174C%20382A%208B6E%2076B8%20A588%200BE0%203274%2036A4%20%5C%2089EE%20CD60%2047E6%20963E%20DCF6%20096D%20C4B4%205D04%20DCEF%2077B5%20C77D%208BC5%22%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EI%20need%20direction%20on%20where%20to%20place%20this%20file%20or%20how%20to%20load%20the%20license.dat%20file%20into%20Matlab%20so%20that%20it%20will%20recognize%20the%20toolbox%3C%2FP%3E%3CP%3Ebest%20regards%3C%2FP%3E%3CP%3Epaul%3C%2FP%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2302544%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20MBD%20Tool%20Box%20licensing%20for%20Matlab%20code%20gen%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2302544%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EI%20have%20a%20question%3A%20if%20I%20only%20use%20the%20free%20MATLAB%20license%20and%20download%20the%20NXP%20Model-Based%20Design%20(MBD)%20Toolbox%20and%20support%20package%2C%20can%20I%20simulate%20Simulink%20models%2C%20and%20genarate%20code%20in%20MATLAB%20using%20MBD%3F%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1542822%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20MBD%20Tool%20Box%20licensing%20for%20Matlab%20code%20gen%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1542822%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20SorinlBancila%26nbsp%3B%3C%2FP%3E%3CP%3Ethanks%20for%20the%20confirmation.%20it%20is%20now%20working%20properly%26nbsp%3B%3C%2FP%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1542818%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20MBD%20Tool%20Box%20licensing%20for%20Matlab%20code%20gen%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1542818%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%3C%2FP%3E%0A%3CP%3EAfter%20you%20have%20generated%20the%20license%20file%20and%20downloaded%20it%20on%20your%20computer%2C%20you%20must%20save%20inside%20the%20toolbox's%20folder%2C%20in%20a%20dedicated%20folder%20called%20%22lic%22.%20Please%20check%20the%20attached%20image.%3C%2FP%3E%0A%3CP%3ELet%20me%20know%20if%20this%20solution%20helps%20you.%3C%2FP%3E%0A%3CP%3EBest%20regards%2C%3C%2FP%3E%0A%3CP%3EBancila%20Sorin%20Ioanid%3C%2FP%3E%3C%2FLINGO-BODY%3E