S32K1xx MATLAB TOOL BOX installation issue: index exceeds array bonds

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

S32K1xx MATLAB TOOL BOX installation issue: index exceeds array bonds

跳至解决方案
1,770 次查看
premch2301
Contributor III

at the last step of verify MBT license: this error is showing that index exceeds array bonds

0 项奖励
回复
1 解答
1,631 次查看
SorinIBancila
NXP Employee
NXP Employee
Hello,

I've sent you a private message. Please check it out.

Best regards,
Sorin Bancila

在原帖中查看解决方案

0 项奖励
回复
8 回复数
1,652 次查看
premch2301
Contributor III

premch2301_0-1743751063393.png

see i think there is some issue with the license file only

0 项奖励
回复
1,752 次查看
premch2301
Contributor III

premch2301_0-1743665480819.png

facing the same problem 

标记 (1)
0 项奖励
回复
1,729 次查看
SorinIBancila
NXP Employee
NXP Employee

Hello,

I have a clean S32K1xx toolbox installed and I am not able to reproduce your problem. Did you bring any modification the example? What MATLAB version do you use?

From the previous post, I see that you use the S32K1xx v4.3.0? Am I right?

Best regards

Sorin Bancila

0 项奖励
回复
1,718 次查看
premch2301
Contributor III

while installing MLTBX file, i am facing problem on the last step(verify MBD toolbox license).  due to that it is not installing completely. 

MBT version: 

4.3.0 Model-Based Design Toolbox for S32K1xx Automotive Microprocessors Family

 

MATLAB version: R2024b

boot serial no: 92E107F3

license file : (.dat)

#Model-Based Design Toolbox for MATLAB/Simulink - Model-Based Design Toolbox
#for S32K1xx Automotive Microprocessors Family for Prem chanchal Software
#Account
# License for DISK_SERIAL_NUM=92E107F3 laptop
INCREMENT MC_Toolbox_S32K freescale 1.0 26-mar-2045 uncounted \
VENDOR_STRING="Model-Based Design Toolbox for S32K1xx \
Automotive Microprocessors Family" \
HOSTID=DISK_SERIAL_NUM=92e107f3 ISSUER="Freescale \
Semiconductor" ISSUED=02-apr-2025 ck=209 SN="FSL - 16070981" \
TS_OK SIGN="010D EDBB 08E4 D16D 281A 2570 AEB1 3280 2DBC 5852 \
2D0D 3BDF A9F0 32F4 75C3 1DB9 CF8C EE59 7D39 3F0F 61FE BD61 \
6119 AD4D C9B9 EEF8 9348 7117 20FE 82BF"

 

premch2301_0-1743682268427.png

 

0 项奖励
回复
1,705 次查看
SorinIBancila
NXP Employee
NXP Employee

Hello,

Unfortunately I am unable to reproduce your problem. No matter what I try, I can't get the same error.

In one of your screenshots, I saw that you have multiple S32K1xx toolboxes installed. Please make sure only on in installed.

Can you try these steps, maybe they solve the problem:

1. Revert the MATLAB Path to the Default one.

SorinIBancila_0-1743686026322.png

 

2. Uninstall all S32K1xx toolboxes. Navigate to the C:\Users\TPEM_USER_1\AppData\Roaming\MathWorks\MATLAB Add-Ons\Toolboxes and delete all NXP_MBDToolbox_S32K1xx folder.

3. Restart MATLAB.

4. Go to Preferences -> MATLAB -> Add-Ons and modify the default installation folder to a shorter path and without including spaces . (e.g. C:\MATLAB\Addons\Toolboxes\R2024B)

5. Inside the MATLAB, navigate to the NXP_MBDToolbox_S32K1xx_4.3.0_20220913.mltbx file and double click on it and install the toolbox.

6. Manually activate the toolbox by copying the license.dat file inside the lic folder.

7. Run the mbd_s32k_path script.

 

Let me know if these steps solve your problem.

Best regards,

Sorin Bancila

0 项奖励
回复
1,659 次查看
premch2301
Contributor III

premch2301_0-1743750176547.png

 

premch2301_1-1743750177123.png

 

premch2301_2-1743750177220.png

 

premch2301_3-1743750176643.png

 

premch2301_4-1743750177006.png

 

premch2301_5-1743750176842.png

 

 

 

i have installed only one S32K1xx add on tool. followed all the above steps.  Still this issue is coming

0 项奖励
回复
1,638 次查看
premch2301
Contributor III

premch2301_0-1743755330773.png

there is something issue with the license file. 

0 项奖励
回复
1,632 次查看
SorinIBancila
NXP Employee
NXP Employee
Hello,

I've sent you a private message. Please check it out.

Best regards,
Sorin Bancila
0 项奖励
回复
%3CLINGO-SUB%20id%3D%22lingo-sub-2072663%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ES32K1xx%20MATLAB%20%E5%B7%A5%E5%85%B7%E7%AE%B1%E5%AE%89%E8%A3%85%E9%97%AE%E9%A2%98%EF%BC%9A%E7%B4%A2%E5%BC%95%E8%B6%85%E5%87%BA%E6%95%B0%E7%BB%84%E9%94%AE%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2072663%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E5%9C%A8%E9%AA%8C%E8%AF%81%20MBT%20%E8%AE%B8%E5%8F%AF%E8%AF%81%E7%9A%84%E6%9C%80%E5%90%8E%E4%B8%80%E6%AD%A5%EF%BC%9A%E6%AD%A4%E9%94%99%E8%AF%AF%E8%A1%A8%E6%98%8E%3CFONT%20color%3D%22%23FF0000%22%3E%3CSTRONG%3E%E7%B4%A2%E5%BC%95%E8%B6%85%E5%87%BA%E4%BA%86%E6%95%B0%E7%BB%84%E9%94%AE%3C%2FSTRONG%3E%3C%2FFONT%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2074169%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E5%9B%9E%E5%A4%8D%EF%BC%9AS32K1xx%20MATLAB%20%E5%B7%A5%E5%85%B7%E7%AE%B1%E5%AE%89%E8%A3%85%E9%97%AE%E9%A2%98%EF%BC%9A%E7%B4%A2%E5%BC%95%E8%B6%85%E5%87%BA%E6%95%B0%E7%BB%84%E9%94%AE%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2074169%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E4%BD%A0%E5%A5%BD%EF%BC%8C%3CBR%20%2F%3E%3CBR%20%2F%3E%E6%88%91%E5%B7%B2%E5%90%91%E6%82%A8%E5%8F%91%E9%80%81%E7%A7%81%E4%BF%A1%E3%80%82%E8%AF%B7%E6%A3%80%E6%9F%A5%E4%B8%80%E4%B8%8B%E3%80%82%3CBR%20%2F%3E%3CBR%20%2F%3E%E6%AD%A4%E8%87%B4%EF%BC%8C%3CBR%20%2F%3E%E7%B4%A2%E6%9E%97%C2%B7%E7%8F%AD%E8%A5%BF%E6%8B%89%3C%2FLINGO-BODY%3E