<?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 can_Message.h not found in Model-Based Design Toolbox (MBDT)</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/can-Message-h-not-found/m-p/1748140#M8632</link>
    <description>&lt;P&gt;Hello NXP,&lt;/P&gt;&lt;P&gt;I build model in MATLAB where I use CAN_unpack block and it run, but when I tried to integrate this MATLAB generated code into S32 IDE for ARM then it show error like 'can_message.h file not found'.&amp;nbsp; Even I try to find can_message.h file in MATLAB directory but I'm not getting it.&lt;/P&gt;</description>
    <pubDate>Sun, 29 Oct 2023 07:31:06 GMT</pubDate>
    <dc:creator>saurabhkulkarni123</dc:creator>
    <dc:date>2023-10-29T07:31:06Z</dc:date>
    <item>
      <title>can_Message.h not found</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/can-Message-h-not-found/m-p/1748140#M8632</link>
      <description>&lt;P&gt;Hello NXP,&lt;/P&gt;&lt;P&gt;I build model in MATLAB where I use CAN_unpack block and it run, but when I tried to integrate this MATLAB generated code into S32 IDE for ARM then it show error like 'can_message.h file not found'.&amp;nbsp; Even I try to find can_message.h file in MATLAB directory but I'm not getting it.&lt;/P&gt;</description>
      <pubDate>Sun, 29 Oct 2023 07:31:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/can-Message-h-not-found/m-p/1748140#M8632</guid>
      <dc:creator>saurabhkulkarni123</dc:creator>
      <dc:date>2023-10-29T07:31:06Z</dc:date>
    </item>
    <item>
      <title>Re: can_Message.h not found</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/can-Message-h-not-found/m-p/1748817#M8636</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/202837"&gt;@saurabhkulkarni123&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The&lt;STRONG&gt; can_message.h&lt;/STRONG&gt; is an internal MATLAB file which can be found inside the MATLAB installation folder. It is not present in the folder containing the application generated code and this is why you are not able to locate it by searching for it in the location where you have built your model.&lt;/P&gt;
&lt;P&gt;After importing your Simulink generated code to S32DS, could you please try to add the specific MATLAB location inside the S32DS project settings so that the compiler&amp;nbsp;could locate the file? For this, you should right click on the project and access the Properties option which will open the following tab, where, inside the C/C++ Build -&amp;gt; Settings, you could add the corresponding path in the list of Includes:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Irina_Costachescu_0-1698680118152.png" style="width: 488px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/247537i7A6BAF0338B8A0DA/image-dimensions/488x260?v=v2" width="488" height="260" role="button" title="Irina_Costachescu_0-1698680118152.png" alt="Irina_Costachescu_0-1698680118152.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Depending on the MATLAB release you are using, this location of &lt;STRONG&gt;can_message.h&lt;/STRONG&gt; might be different, but you could search inside the folder for it and add the corresponding path as illustrated above. The attached screenshot targets MATLAB R2021a. After adding the path, you could try rebuild the project inside S32DS.&lt;/P&gt;
&lt;P&gt;Please let us know if this solves your problem.&lt;/P&gt;
&lt;P&gt;Thank you,&lt;/P&gt;
&lt;P&gt;Irina&lt;/P&gt;</description>
      <pubDate>Mon, 30 Oct 2023 15:37:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/can-Message-h-not-found/m-p/1748817#M8636</guid>
      <dc:creator>Irina_Costachescu</dc:creator>
      <dc:date>2023-10-30T15:37:49Z</dc:date>
    </item>
    <item>
      <title>Re: can_Message.h not found</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/can-Message-h-not-found/m-p/1749178#M8640</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/100054"&gt;@Irina_Costachescu&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I follow the process as what you mentioned in message and it works. Now I'm getting another error which is like 'undefined round or floor'. I'm attaching this error please see it once and please let us know how can I solve it?&lt;/P&gt;</description>
      <pubDate>Tue, 31 Oct 2023 06:07:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/can-Message-h-not-found/m-p/1749178#M8640</guid>
      <dc:creator>saurabhkulkarni123</dc:creator>
      <dc:date>2023-10-31T06:07:15Z</dc:date>
    </item>
    <item>
      <title>Re: can_Message.h not found</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/can-Message-h-not-found/m-p/1752108#M8653</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/202837"&gt;@saurabhkulkarni123&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The errors you are currently encountering are related to functions from the &lt;STRONG&gt;libm.a&lt;/STRONG&gt; library (standard C library of basic mathematical functions), which seems to be missing in your current configuration. Could you please check inside the project Properties for the Libraries used during the linking process? You should have the &lt;STRONG&gt;libm.a&lt;/STRONG&gt; entry in the list, as illustrated below.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Irina_Costachescu_0-1699031731448.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/248413iB24632CB846A8090/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Irina_Costachescu_0-1699031731448.png" alt="Irina_Costachescu_0-1699031731448.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;In case it does not exist, could you please try and add it and rebuild the project?&lt;/P&gt;
&lt;P&gt;If that does not solve the problem either, could you please send us your project so that we could furtherly investigate? For sharing the project please note that you could also consider the option of sending it via a private NXP Community message.&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Irina&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Nov 2023 17:31:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/can-Message-h-not-found/m-p/1752108#M8653</guid>
      <dc:creator>Irina_Costachescu</dc:creator>
      <dc:date>2023-11-03T17:31:31Z</dc:date>
    </item>
  </channel>
</rss>

