<?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: problem for using AMMCLIB when generating code: can not find .tlc file  in Model-Based Design Toolbox (MBDT)</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/problem-for-using-AMMCLIB-when-generating-code-can-not-find-tlc/m-p/983665#M3864</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&amp;nbsp;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/j.wale.3@warwick.ac.uk"&gt;j.wale.3@warwick.ac.uk&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately with the new version of S32 Design Studio there were some backward compatibility issues - most likely it is missing the library linkage. You can try and add it manually by&lt;STRONG&gt; right clicking on the project&lt;/STRONG&gt;, then clicking on &lt;STRONG&gt;Properties&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From there you can follow the image below: go to&lt;STRONG&gt; C/C++ Build&lt;/STRONG&gt; -&amp;gt; &lt;STRONG&gt;Settings&lt;/STRONG&gt; -&amp;gt; &lt;STRONG&gt;Standard S32DS C Linker&lt;/STRONG&gt; -&amp;gt; &lt;STRONG&gt;Libraries&lt;/STRONG&gt;. There you should add ":MPC574xP_AMMCLIB.a" [just like this].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let us know if you have issues with these steps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&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/28561iE47FC0891BF6F1FF/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;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Razvan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Apr 2020 08:10:15 GMT</pubDate>
    <dc:creator>constantinrazva</dc:creator>
    <dc:date>2020-04-29T08:10:15Z</dc:date>
    <item>
      <title>problem for using AMMCLIB when generating code: can not find .tlc file</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/problem-for-using-AMMCLIB-when-generating-code-can-not-find-tlc/m-p/983662#M3861</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;when I use AMMCLIB in sumulink, simulating the model is fine, but when I build the model and generating code, following error is appeared:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;S-function 'MLIB_Add_SF_F16' in 'untitled/MLIB_Add_F16/MLIB_Add_SF' specifies option SS_OPTION_SFUNCTION_INLINED_FOR_RTW however a 'MLIB_Add_SF_F16.tlc' file could not be located in the current working directory, the S-function directory 'D:\Program Files\MATLAB\R2017a\toolbox\nxp\mlib\bam_f16', or the directory 'D:\Program Files\MATLAB\R2017a\toolbox\nxp\mlib\bam_f16\tlc_c'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I searched the lib documents, but no tlc file is found.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please help me for this issue!&lt;/P&gt;&lt;P&gt;Thanks!!!&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="lib.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/102352i50E21093DB2600FA/image-size/large?v=v2&amp;amp;px=999" role="button" title="lib.PNG" alt="lib.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="model.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/102396i0E31ECE7D4E7B5A7/image-size/large?v=v2&amp;amp;px=999" role="button" title="model.PNG" alt="model.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Feb 2020 08:19:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/problem-for-using-AMMCLIB-when-generating-code-can-not-find-tlc/m-p/983662#M3861</guid>
      <dc:creator>xiaobo1982</dc:creator>
      <dc:date>2020-02-19T08:19:35Z</dc:date>
    </item>
    <item>
      <title>Re: problem for using AMMCLIB when generating code: can not find .tlc file</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/problem-for-using-AMMCLIB-when-generating-code-can-not-find-tlc/m-p/983663#M3862</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/xiaobo1982@163.com"&gt;xiaobo1982@163.com&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That is normal. You are using the stand alone version of the AMMCLIB package which per today status includes only the simulation capabilities.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to exercise the code generation capabilities, you need to install the entire Model Based Design Toolbox - that incorporates the AMMCLIB and adds on top of that the code generation capabilities.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please download and install the appropriate package from:&amp;nbsp;&lt;A class="link-titled" href="https://www.nxp.com/mbdt" title="https://www.nxp.com/mbdt"&gt;Model-Based Design Toolbox | NXP&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Feb 2020 08:34:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/problem-for-using-AMMCLIB-when-generating-code-can-not-find-tlc/m-p/983663#M3862</guid>
      <dc:creator>Daniel_Popa</dc:creator>
      <dc:date>2020-02-19T08:34:18Z</dc:date>
    </item>
    <item>
      <title>Re: problem for using AMMCLIB when generating code: can not find .tlc file</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/problem-for-using-AMMCLIB-when-generating-code-can-not-find-tlc/m-p/983664#M3863</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Daniel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a related issue, which I hope you can help with.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using the MBDT, it is possible to build code and run it on the MPC5744P target directly from Simulink. However, when importing the generated source files into S32DS, any references to functions in the GMCLIB produce linker errors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I notice in the Simulink coder output that the GMCLIB functions (e.g. GMCLIB_Clark_FLT), are not explicitly referenced in the header files of the code modules that call the functions, but the compiler accepts this - so it looks like they are treated implicitly as extern function types. However, the build process used by the Simulink autocoder can cope with this, but S32DS cannot. Can you recommend a way to allow successful linking in S32DS? Perhaps forcing Simulink to explicity include function prototypes for GMCLIB functions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;John.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Apr 2020 16:45:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/problem-for-using-AMMCLIB-when-generating-code-can-not-find-tlc/m-p/983664#M3863</guid>
      <dc:creator>j_wale_3</dc:creator>
      <dc:date>2020-04-28T16:45:13Z</dc:date>
    </item>
    <item>
      <title>Re: problem for using AMMCLIB when generating code: can not find .tlc file</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/problem-for-using-AMMCLIB-when-generating-code-can-not-find-tlc/m-p/983665#M3864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&amp;nbsp;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/j.wale.3@warwick.ac.uk"&gt;j.wale.3@warwick.ac.uk&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately with the new version of S32 Design Studio there were some backward compatibility issues - most likely it is missing the library linkage. You can try and add it manually by&lt;STRONG&gt; right clicking on the project&lt;/STRONG&gt;, then clicking on &lt;STRONG&gt;Properties&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From there you can follow the image below: go to&lt;STRONG&gt; C/C++ Build&lt;/STRONG&gt; -&amp;gt; &lt;STRONG&gt;Settings&lt;/STRONG&gt; -&amp;gt; &lt;STRONG&gt;Standard S32DS C Linker&lt;/STRONG&gt; -&amp;gt; &lt;STRONG&gt;Libraries&lt;/STRONG&gt;. There you should add ":MPC574xP_AMMCLIB.a" [just like this].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let us know if you have issues with these steps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&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/28561iE47FC0891BF6F1FF/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;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Razvan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2020 08:10:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/problem-for-using-AMMCLIB-when-generating-code-can-not-find-tlc/m-p/983665#M3864</guid>
      <dc:creator>constantinrazva</dc:creator>
      <dc:date>2020-04-29T08:10:15Z</dc:date>
    </item>
  </channel>
</rss>

