<?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>Model-Based Design Toolbox (MBDT)のトピックRe: Matlab 2021a: iMXRT MBDT V1.2 - Crashes with code generation</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Matlab-2021a-iMXRT-MBDT-V1-2-Crashes-with-code-generation/m-p/1456273#M7285</link>
    <description>&lt;P&gt;Hello,&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/189467"&gt;@Sam_ECU&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was not able to replicate this issue on my side. Can you check if you have installed the Embedded Coder Support Package for ARM Cortex-M Processors and&amp;nbsp; MATLAB Support for MinGW-w64 C/C++ Compiler?&lt;/P&gt;&lt;P&gt;Also, you can try to download the latest NXP MBDToolbox for iMXRT V1.3&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;</description>
    <pubDate>Wed, 11 May 2022 09:16:37 GMT</pubDate>
    <dc:creator>stefancinipeanu</dc:creator>
    <dc:date>2022-05-11T09:16:37Z</dc:date>
    <item>
      <title>Matlab 2021a: iMXRT MBDT V1.2 - Crashes with code generation</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Matlab-2021a-iMXRT-MBDT-V1-2-Crashes-with-code-generation/m-p/1456160#M7283</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/123994"&gt;@nxa11767&lt;/a&gt;, &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/72088"&gt;@mariuslucianand&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to work with MBDToolbox_IMXRT1xxx_V1.2 and Matlab 2021a.&lt;/P&gt;&lt;P&gt;I'm trying to work though some of the examples but as soon as I try to build the code Matlab crashes.&lt;/P&gt;&lt;P&gt;MBDToolbox_S32K1xx works without issue.&lt;/P&gt;&lt;P&gt;I've followed the instructions below:&lt;BR /&gt;&lt;A href="https://www.nxp.com/docs/en/quick-reference-guide/MBDT-IMXRT-QSG.pdf" target="_blank" rel="noopener"&gt;https://www.nxp.com/docs/en/quick-reference-guide/MBDT-IMXRT-QSG.pdf&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.nxp.com/t5/NXP-Model-Based-Design-Tools/Getting-started-with-NXP-i-MX-RT1xxx-Simulink-Toolbox/ta-p/1285318" target="_blank" rel="noopener"&gt;https://community.nxp.com/t5/NXP-Model-Based-Design-Tools/Getting-started-with-NXP-i-MX-RT1xxx-Simulink-Toolbox/ta-p/1285318&lt;/A&gt;&lt;/P&gt;&lt;P&gt;To try and resolve the issue, I've:&lt;/P&gt;&lt;P&gt;- Uninstalled and reinstalled Matlab&lt;BR /&gt;- Uninstalled and reinstalled the toolbox&lt;BR /&gt;- Change the directory for the toolbox.&lt;/P&gt;&lt;P&gt;Attached are the crash reports and images of my system+settings.&lt;/P&gt;&lt;P&gt;How can I resolve the issue?&lt;/P&gt;&lt;P&gt;Cheers.&lt;/P&gt;</description>
      <pubDate>Wed, 11 May 2022 07:15:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Matlab-2021a-iMXRT-MBDT-V1-2-Crashes-with-code-generation/m-p/1456160#M7283</guid>
      <dc:creator>Sam_ECU</dc:creator>
      <dc:date>2022-05-11T07:15:59Z</dc:date>
    </item>
    <item>
      <title>Re: Matlab 2021a: iMXRT MBDT V1.2 - Crashes with code generation</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Matlab-2021a-iMXRT-MBDT-V1-2-Crashes-with-code-generation/m-p/1456273#M7285</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/189467"&gt;@Sam_ECU&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was not able to replicate this issue on my side. Can you check if you have installed the Embedded Coder Support Package for ARM Cortex-M Processors and&amp;nbsp; MATLAB Support for MinGW-w64 C/C++ Compiler?&lt;/P&gt;&lt;P&gt;Also, you can try to download the latest NXP MBDToolbox for iMXRT V1.3&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;</description>
      <pubDate>Wed, 11 May 2022 09:16:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Matlab-2021a-iMXRT-MBDT-V1-2-Crashes-with-code-generation/m-p/1456273#M7285</guid>
      <dc:creator>stefancinipeanu</dc:creator>
      <dc:date>2022-05-11T09:16:37Z</dc:date>
    </item>
    <item>
      <title>Re: Matlab 2021a: iMXRT MBDT V1.2 - Crashes with code generation</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Matlab-2021a-iMXRT-MBDT-V1-2-Crashes-with-code-generation/m-p/1456306#M7286</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/177536"&gt;@stefancinipeanu&lt;/a&gt; ,&lt;/P&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Sorry, I mistyped. I'm using V1.3.&lt;/P&gt;&lt;P&gt;I didn't have "MATLAB Support for MinGW-w64 C/C++ Compiler".&lt;/P&gt;&lt;P&gt;The issue is pretty well the same though.&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Sam&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sam_ECU_0-1652262349385.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/179492iC5B6C85F03FEB8BF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Sam_ECU_0-1652262349385.png" alt="Sam_ECU_0-1652262349385.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sam_ECU_1-1652262520407.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/179495i9FCFCBA33078C32D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Sam_ECU_1-1652262520407.png" alt="Sam_ECU_1-1652262520407.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 May 2022 09:48:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Matlab-2021a-iMXRT-MBDT-V1-2-Crashes-with-code-generation/m-p/1456306#M7286</guid>
      <dc:creator>Sam_ECU</dc:creator>
      <dc:date>2022-05-11T09:48:57Z</dc:date>
    </item>
    <item>
      <title>Re: Matlab 2021a: iMXRT MBDT V1.2 - Crashes with code generation</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Matlab-2021a-iMXRT-MBDT-V1-2-Crashes-with-code-generation/m-p/1456369#M7288</link>
      <description>&lt;P&gt;As an information point.&amp;nbsp; It isn't listed in the Quickstart Guide that "MATLAB Support for MinGW-w64 C/C++ Compiler" is required:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sam_ECU_0-1652267558011.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/179516i590A73CA0947077E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Sam_ECU_0-1652267558011.png" alt="Sam_ECU_0-1652267558011.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sam_ECU_1-1652267600347.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/179520i0DC5CB0A6A4B8FCC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Sam_ECU_1-1652267600347.png" alt="Sam_ECU_1-1652267600347.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 May 2022 11:13:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Matlab-2021a-iMXRT-MBDT-V1-2-Crashes-with-code-generation/m-p/1456369#M7288</guid>
      <dc:creator>Sam_ECU</dc:creator>
      <dc:date>2022-05-11T11:13:37Z</dc:date>
    </item>
    <item>
      <title>Re: Matlab 2021a: iMXRT MBDT V1.2 - Crashes with code generation</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Matlab-2021a-iMXRT-MBDT-V1-2-Crashes-with-code-generation/m-p/1456530#M7289</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/189467"&gt;@Sam_ECU&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sorry for the delayed response. I have looked into this issue deeper and It looks like a MATLAB bug. Some MATLAB users had encountered similar problems, described in this MathWorks thread (&lt;A href="https://www.mathworks.com/matlabcentral/answers/1699530-simulink-crashing-suddenly-from-yesterday?s_tid=srchtitle" target="_blank"&gt;https://www.mathworks.com/matlabcentral/answers/1699530-simulink-crashing-suddenly-from-yesterday?s_tid=srchtitle&lt;/A&gt;).&lt;/P&gt;
&lt;P&gt;What I suggest to do is to check your MATLAB R2021a updates and to update the existing installation to the latest one, which is R2021a Update 6. You can do this by clicking the bell button on the up right side pane of&amp;nbsp; MATLAB. (&lt;A href="https://www.mathworks.com/help/matlab/matlab_env/check-for-software-updates.html#:~:text=On%20the%20Home%20tab%2C%20click,update%20name%20to%20install%20it." target="_self"&gt;https://www.mathworks.com/help/matlab/matlab_env/check-for-software-updates.html#:~:text=On%20the%20Home%20tab%2C%20click,update%20name%20to%20install%20it.&lt;/A&gt;).&lt;/P&gt;
&lt;P&gt;After the update is installed, restart MATLAB and run again the &lt;STRONG&gt;mbd_imxrt_path.m&lt;/STRONG&gt; script.&lt;/P&gt;
&lt;P&gt;Let me know if it worked. Also, you could try to install the IMXRT toolbox on R2021b and give it a try.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Stefan&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 May 2022 15:08:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Matlab-2021a-iMXRT-MBDT-V1-2-Crashes-with-code-generation/m-p/1456530#M7289</guid>
      <dc:creator>stefancinipeanu</dc:creator>
      <dc:date>2022-05-11T15:08:37Z</dc:date>
    </item>
    <item>
      <title>Re: Matlab 2021a: iMXRT MBDT V1.2 - Crashes with code generation</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Matlab-2021a-iMXRT-MBDT-V1-2-Crashes-with-code-generation/m-p/1457310#M7298</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/177536"&gt;@stefancinipeanu&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Before trialling the iMXRT-Toolbox I also updated Matlab.&amp;nbsp; I've reinstalled my older version of Matlab and the Toolbox is working fine.&lt;/P&gt;&lt;P&gt;It does appear to be a bug in Matlab 2021a.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the help,&lt;/P&gt;&lt;P&gt;Sam&lt;/P&gt;</description>
      <pubDate>Thu, 12 May 2022 14:08:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Matlab-2021a-iMXRT-MBDT-V1-2-Crashes-with-code-generation/m-p/1457310#M7298</guid>
      <dc:creator>Sam_ECU</dc:creator>
      <dc:date>2022-05-12T14:08:55Z</dc:date>
    </item>
  </channel>
</rss>

