<?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: Question about s function builder in Model-Based Design Toolbox (MBDT)</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Question-about-s-function-builder/m-p/892192#M3076</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's right ! My problem have sloved,thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 May 2019 01:08:49 GMT</pubDate>
    <dc:creator>260068845</dc:creator>
    <dc:date>2019-05-03T01:08:49Z</dc:date>
    <item>
      <title>Question about s function builder</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Question-about-s-function-builder/m-p/892190#M3074</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin: 0cm; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d;"&gt;Hello, engineers&lt;BR /&gt; I am currently learning the toolbox of MPC5744P. I have encountered some problems when using s function builder. My idea is to use s function to call the module after s function builder build, but I am not very familiar with the following problems during compilation. Understand, is it wrong with me? The forum mentioned using the model call s function builder build, but I have not succeeded. Attachment is my project file, I hope to get answers, thank you! !&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="模型照片.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/80944iE2C831B0D05A3847/image-size/large?v=v2&amp;amp;px=999" role="button" title="模型照片.PNG" alt="模型照片.PNG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="error.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/80945i2AE0B46FA7EC80A3/image-size/large?v=v2&amp;amp;px=999" role="button" title="error.PNG" alt="error.PNG" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Apr 2019 14:05:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Question-about-s-function-builder/m-p/892190#M3074</guid>
      <dc:creator>260068845</dc:creator>
      <dc:date>2019-04-25T14:05:25Z</dc:date>
    </item>
    <item>
      <title>Re: Question about s function builder</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Question-about-s-function-builder/m-p/892191#M3075</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/260068845@qq.com"&gt;260068845@qq.com&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your problem cause is that the file &lt;STRONG&gt;test_builder_wrapper.c&lt;/STRONG&gt; is not found in the&amp;nbsp;&lt;STRONG&gt;Test_v1_mbd_rtw&lt;/STRONG&gt; folder, so it is not compiled and when it tries to create the elf file, it finds no reference to the custom functions inserted.&amp;nbsp;&lt;/P&gt;&lt;P&gt;In order to solve this, the easiest way is to go to the &lt;STRONG&gt;{Matlab Addons}\MPC\Toolboxes\NXP_MBDToolbox_MPC57xx\code\mbdtbx_mpc574x\mbdtbx_mpc574x\mscripts\utils, &lt;/STRONG&gt;rename the&amp;nbsp;&lt;STRONG&gt;mbd_mpc574x_user_copy_required_files.m &lt;/STRONG&gt;to&amp;nbsp;&lt;STRONG&gt;mbd_mpc_user_copy_required_files.m &lt;/STRONG&gt;and inside the function add the following line of code.&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&amp;nbsp;mbd_mpc_copy(fullfile('{absolute file location}', 'test_builder_wrapper.c'), fullfile(dest_dir, 'test_builder_wrapper.c'), 'f');&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;This will copy the&amp;nbsp;&lt;STRONG&gt;test_builder_wrapper.c&amp;nbsp;&lt;/STRONG&gt;any time you will&amp;nbsp;generate the code and add the file in the makefile too.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Marius&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Apr 2019 19:59:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Question-about-s-function-builder/m-p/892191#M3075</guid>
      <dc:creator>mariuslucianand</dc:creator>
      <dc:date>2019-04-30T19:59:49Z</dc:date>
    </item>
    <item>
      <title>Re: Question about s function builder</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Question-about-s-function-builder/m-p/892192#M3076</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's right ! My problem have sloved,thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 May 2019 01:08:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Question-about-s-function-builder/m-p/892192#M3076</guid>
      <dc:creator>260068845</dc:creator>
      <dc:date>2019-05-03T01:08:49Z</dc:date>
    </item>
  </channel>
</rss>

