<?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)のトピックStatic Code Metric Report fails on Simulink</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Static-Code-Metric-Report-fails-on-Simulink/m-p/893559#M3086</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Daniel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the model configuration you can enable Static Code Metrics Report. This is a very useful way to navigate the generated code. As you can see from the attached files, the report could not generate. I tried several changes to the Matlab path and locations from the files you provided but it always seems to have these errors. I want to make sure that this is normal or if it is an indication that I need to fix something before I start.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/81116i624573814D3401BC/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/81117i8BCB2C4540FB24E1/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 May 2019 14:52:38 GMT</pubDate>
    <dc:creator>JesseBeeker</dc:creator>
    <dc:date>2019-05-14T14:52:38Z</dc:date>
    <item>
      <title>Static Code Metric Report fails on Simulink</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Static-Code-Metric-Report-fails-on-Simulink/m-p/893559#M3086</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Daniel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the model configuration you can enable Static Code Metrics Report. This is a very useful way to navigate the generated code. As you can see from the attached files, the report could not generate. I tried several changes to the Matlab path and locations from the files you provided but it always seems to have these errors. I want to make sure that this is normal or if it is an indication that I need to fix something before I start.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/81116i624573814D3401BC/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/81117i8BCB2C4540FB24E1/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 May 2019 14:52:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Static-Code-Metric-Report-fails-on-Simulink/m-p/893559#M3086</guid>
      <dc:creator>JesseBeeker</dc:creator>
      <dc:date>2019-05-14T14:52:38Z</dc:date>
    </item>
    <item>
      <title>Re: Static Code Metric Report fails on Simulink</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Static-Code-Metric-Report-fails-on-Simulink/m-p/893560#M3087</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/JesseBeeker"&gt;JesseBeeker&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I looked over this issue, but i do not think i related with our toolbox.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The files that are reported as not being able to be found can be added in the MATLAB path by:&lt;/P&gt;&lt;P&gt;- adding the generated folder (model_name_rtw) in the MATLAB path&lt;/P&gt;&lt;P&gt;- adding the ...NXP_MBDToolbox_S32K1xx\code\tools folder in the path&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These files are GCC or SDK related include files that exists on the host PC (otherwise the build would fail)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After doing so, the edit command in MATLAB can successfully open any of the files reported as fail by the Static Code Metric Report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suspect an issue with the Simulink Code Metric itself - most likely it expect to find all the files in the root folder of the generated code. Also, i see that others are reporting similar issues on the Mathworks site:&amp;nbsp;&lt;A href="https://www.mathworks.com/matlabcentral/answers/263910-static-code-metrics-report-cannot-be-created-in-embedded-coder"&gt;https://www.mathworks.com/matlabcentral/answers/263910-static-code-metrics-report-cannot-be-created-in-embedded-coder&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/brianmckay"&gt;brianmckay&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;Is MW aware of such limitations ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 May 2019 07:13:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Static-Code-Metric-Report-fails-on-Simulink/m-p/893560#M3087</guid>
      <dc:creator>Daniel_Popa</dc:creator>
      <dc:date>2019-05-15T07:13:26Z</dc:date>
    </item>
    <item>
      <title>Re: Static Code Metric Report fails on Simulink</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Static-Code-Metric-Report-fails-on-Simulink/m-p/893561#M3088</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/dumitru-daniel.popa"&gt;dumitru-daniel.popa&lt;/A&gt;&amp;nbsp;and &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/JesseBeeker"&gt;JesseBeeker&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have sent email to MathWorks Development to inquire about this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;-Brian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 May 2019 07:25:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Static-Code-Metric-Report-fails-on-Simulink/m-p/893561#M3088</guid>
      <dc:creator>brianmckay</dc:creator>
      <dc:date>2019-05-15T07:25:40Z</dc:date>
    </item>
    <item>
      <title>Re: Static Code Metric Report fails on Simulink</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Static-Code-Metric-Report-fails-on-Simulink/m-p/893562#M3089</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great. Thank you.&lt;/P&gt;&lt;P&gt;Those path changes sound familiar to what was tried last week. We also tried adding them directly in the model configuration.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is a tricky situation with multiple companies in the mix to produce the solution. I want to be sure I have the right support direction so I am not tasking the wrong company for help. I have some local attention from Mathworks app team so I will see what can result.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 May 2019 13:48:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Static-Code-Metric-Report-fails-on-Simulink/m-p/893562#M3089</guid>
      <dc:creator>JesseBeeker</dc:creator>
      <dc:date>2019-05-15T13:48:33Z</dc:date>
    </item>
  </channel>
</rss>

