<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: MBDT error in MATLAB in Model-Based Design Toolbox (MBDT)</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/MBDT-error-in-MATLAB/m-p/1658187#M8251</link>
    <description>&lt;P&gt;Hello,&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/217877"&gt;@jhtan&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;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 &lt;STRONG&gt;Embedded Coder&lt;/STRONG&gt;, &lt;STRONG&gt;Simulink Coder&lt;/STRONG&gt; and &lt;STRONG&gt;Embedded Coder for ARM Cortex-M&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;You can find and install them by clicking the &lt;EM&gt;Add-Ons&lt;/EM&gt; button from MATLAB.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="stefancinipeanu_1-1685087607368.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/224970i64B017DF7EAE945E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="stefancinipeanu_1-1685087607368.png" alt="stefancinipeanu_1-1685087607368.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Let me know if you`ve managed to run the mbd_imxrt_path script.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Stefan.&lt;/P&gt;</description>
    <pubDate>Fri, 26 May 2023 07:54:42 GMT</pubDate>
    <dc:creator>stefancinipeanu</dc:creator>
    <dc:date>2023-05-26T07:54:42Z</dc:date>
    <item>
      <title>MBDT error in MATLAB</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/MBDT-error-in-MATLAB/m-p/1657991#M8248</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Hi all, h&lt;SPAN&gt;ere i face some problem for the NXP MBDT software installation.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;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.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Error code:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Warning: The following error was caught while executing 'onCleanup' class destructor:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Error using rmdir&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;No directories were removed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Error in coder.make.ToolchainInfo/privateValidateToolchain&amp;gt;@()rmdir(tempDirName,'s') (line 19)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;cleanupObj.b = onCleanup(@()rmdir(tempDirName, 's'));&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Error in onCleanup/delete (line 80)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;obj.task();&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Error in coder.make.ToolchainInfo/privateValidateToolchain (line 6)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;narginchk( 3, 3 );&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Error in coder.make.ToolchainInfo/validate (line 88)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[tcStatus,warningStr,errorStr,reportStr] = privateValidateToolchain(h, setupFirst, cleanupLast);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Error in mbd_imxrt_create_gcc_tc&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Error in mbd_imxrt_path (line 108)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;mbd_imxrt_create_gcc_tc(); &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;gt; In coder.make.ToolchainInfo/privateValidateToolchain (line 6)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In coder.make.ToolchainInfo/validate (line 88)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In mbd_imxrt_create_gcc_tc&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In mbd_imxrt_path (line 108) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Error using mbd_imxrt_create_codertarget&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ARM Cortex-M Support Package not installed.Please visit Embedded Coder for Cortex M support package page&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Error in mbd_imxrt_path (line 114)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;mbd_imxrt_create_codertarget();&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 May 2023 01:44:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/MBDT-error-in-MATLAB/m-p/1657991#M8248</guid>
      <dc:creator>jhtan</dc:creator>
      <dc:date>2023-05-26T01:44:09Z</dc:date>
    </item>
    <item>
      <title>Re: MBDT error in MATLAB</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/MBDT-error-in-MATLAB/m-p/1658187#M8251</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/217877"&gt;@jhtan&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;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 &lt;STRONG&gt;Embedded Coder&lt;/STRONG&gt;, &lt;STRONG&gt;Simulink Coder&lt;/STRONG&gt; and &lt;STRONG&gt;Embedded Coder for ARM Cortex-M&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;You can find and install them by clicking the &lt;EM&gt;Add-Ons&lt;/EM&gt; button from MATLAB.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="stefancinipeanu_1-1685087607368.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/224970i64B017DF7EAE945E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="stefancinipeanu_1-1685087607368.png" alt="stefancinipeanu_1-1685087607368.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Let me know if you`ve managed to run the mbd_imxrt_path script.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Stefan.&lt;/P&gt;</description>
      <pubDate>Fri, 26 May 2023 07:54:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/MBDT-error-in-MATLAB/m-p/1658187#M8251</guid>
      <dc:creator>stefancinipeanu</dc:creator>
      <dc:date>2023-05-26T07:54:42Z</dc:date>
    </item>
  </channel>
</rss>

