MBDT error in MATLAB

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

MBDT error in MATLAB

601 Views
jhtan
Contributor I

Hi all, here i face some problem for the NXP MBDT software installation.

I got an error (as listed below) after i click on the "mbd_imxrt_path.m" once software installation in MATLAB is done. Not sure what issue this is but hope you all may help on this.

Error code:

Warning: The following error was caught while executing 'onCleanup' class destructor:
Error using rmdir
No directories were removed.

Error in coder.make.ToolchainInfo/privateValidateToolchain>@()rmdir(tempDirName,'s') (line 19)
cleanupObj.b = onCleanup(@()rmdir(tempDirName, 's'));

Error in onCleanup/delete (line 80)
obj.task();

Error in coder.make.ToolchainInfo/privateValidateToolchain (line 6)
narginchk( 3, 3 );

Error in coder.make.ToolchainInfo/validate (line 88)
[tcStatus,warningStr,errorStr,reportStr] = privateValidateToolchain(h, setupFirst, cleanupLast);

Error in mbd_imxrt_create_gcc_tc

Error in mbd_imxrt_path (line 108)
mbd_imxrt_create_gcc_tc();
> In coder.make.ToolchainInfo/privateValidateToolchain (line 6)
In coder.make.ToolchainInfo/validate (line 88)
In mbd_imxrt_create_gcc_tc
In mbd_imxrt_path (line 108)
Error using mbd_imxrt_create_codertarget
ARM Cortex-M Support Package not installed.Please visit Embedded Coder for Cortex M support package page

Error in mbd_imxrt_path (line 114)
mbd_imxrt_create_codertarget();

 

 

0 Kudos
Reply
1 Reply

583 Views
stefancinipeanu
NXP Employee
NXP Employee

Hello, @jhtan 

It looks like, you don`t have installed the Embedded Coder for ARM Cortex-M support package. NXP`s Model-Based Design Toolbox needs some additional toolboxes/support packages that must be installed into your MATLAB. These are Embedded Coder, Simulink Coder and Embedded Coder for ARM Cortex-M.

You can find and install them by clicking the Add-Ons button from MATLAB.

stefancinipeanu_1-1685087607368.png

Let me know if you`ve managed to run the mbd_imxrt_path script.

Regards,

Stefan.

0 Kudos
Reply