<?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 回复： how to %% Add user defined cache here in mbd_s32k.tlc in Model-Based Design Toolbox (MBDT)</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/how-to-Add-user-defined-cache-here-in-mbd-s32k-tlc/m-p/1549777#M7805</link>
    <description>&lt;P&gt;hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/72088"&gt;@mariuslucianand&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks for replying.&lt;/P&gt;&lt;P&gt;I could not find the 'mbd_s32_user_copy_required_files' in my s32k toolbox installation folder.... while, I found a similar script in&amp;nbsp;C:\MCToolbox\rappid564xl\rappid564xl\mscripts which is for the chip MPC5643L.... and it requires rp_copy function which is located in the same folder.&amp;nbsp;&lt;/P&gt;&lt;P&gt;it works when I modify it to fit my setup. so I think my problem solved...&lt;/P&gt;&lt;P&gt;having said that, is there any documents about the rp_copy, or mbd_s32_copy(in mbd_s32_user_required_files) which can help me understand what is the different between those xx_copys and the matlab &lt;A href="https://www.mathworks.com/help/matlab/ref/copyfile.html#d124e271005" target="_blank" rel="noopener"&gt;copyfile&lt;/A&gt;&amp;nbsp;function?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you.&amp;nbsp;&lt;/P&gt;&lt;P&gt;bo&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 07 Nov 2022 15:31:06 GMT</pubDate>
    <dc:creator>bolei</dc:creator>
    <dc:date>2022-11-07T15:31:06Z</dc:date>
    <item>
      <title>how to %% Add user defined cache here in mbd_s32k.tlc</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/how-to-Add-user-defined-cache-here-in-mbd-s32k-tlc/m-p/1547767#M7795</link>
      <description>&lt;P&gt;hello folks,&amp;nbsp;&lt;/P&gt;&lt;P&gt;i am using s32k144 and using mbd toolbox from NXP to generate code in Simulink. while there are some low-level driver and also later the CCP driver written in C need to be use/integrate into the model.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I followed the Legacy-code-tool instruction from Mathworks and generated related s function and also tlc.&amp;nbsp;&lt;/P&gt;&lt;P&gt;now, if I manually copy my customer.c and&amp;nbsp;customer.h into the target folder xxx_ mbd_rtw during the code generating process, there is no error, while it could not be done automatically.&amp;nbsp;&lt;/P&gt;&lt;P&gt;please kindly give me a direction for how to manually copy/add customer files into during the code generation process?&lt;/P&gt;&lt;P&gt;thanks in advance.&amp;nbsp;&lt;/P&gt;&lt;P&gt;bo&lt;/P&gt;</description>
      <pubDate>Wed, 02 Nov 2022 13:42:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/how-to-Add-user-defined-cache-here-in-mbd-s32k-tlc/m-p/1547767#M7795</guid>
      <dc:creator>bolei</dc:creator>
      <dc:date>2022-11-02T13:42:00Z</dc:date>
    </item>
    <item>
      <title>Re: how to %% Add user defined cache here in mbd_s32k.tlc</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/how-to-Add-user-defined-cache-here-in-mbd-s32k-tlc/m-p/1549454#M7801</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/195080"&gt;@bolei&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;MBDT for S32K1 provides a callback for such cases when you want to copy some additional files next to the generated code and to cross-compile them together.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You can access the user copy required files script by typing the below command and editing the m-file using the template provided into the script.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;edit&amp;nbsp;&lt;SPAN&gt;mbd_s32k_user_copy_required_files&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mariuslucianand_0-1667807443577.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/199366i0AA9B7D40ADE3335/image-size/large?v=v2&amp;amp;px=999" role="button" title="mariuslucianand_0-1667807443577.png" alt="mariuslucianand_0-1667807443577.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;You can identify the name of the model because typically the dest_dir ends with the /&amp;lt;model_name&amp;gt;_ert_rtw&lt;/P&gt;
&lt;P&gt;Hope this helps,&lt;/P&gt;
&lt;P&gt;Marius&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Nov 2022 07:51:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/how-to-Add-user-defined-cache-here-in-mbd-s32k-tlc/m-p/1549454#M7801</guid>
      <dc:creator>mariuslucianand</dc:creator>
      <dc:date>2022-11-07T07:51:41Z</dc:date>
    </item>
    <item>
      <title>回复： how to %% Add user defined cache here in mbd_s32k.tlc</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/how-to-Add-user-defined-cache-here-in-mbd-s32k-tlc/m-p/1549777#M7805</link>
      <description>&lt;P&gt;hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/72088"&gt;@mariuslucianand&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks for replying.&lt;/P&gt;&lt;P&gt;I could not find the 'mbd_s32_user_copy_required_files' in my s32k toolbox installation folder.... while, I found a similar script in&amp;nbsp;C:\MCToolbox\rappid564xl\rappid564xl\mscripts which is for the chip MPC5643L.... and it requires rp_copy function which is located in the same folder.&amp;nbsp;&lt;/P&gt;&lt;P&gt;it works when I modify it to fit my setup. so I think my problem solved...&lt;/P&gt;&lt;P&gt;having said that, is there any documents about the rp_copy, or mbd_s32_copy(in mbd_s32_user_required_files) which can help me understand what is the different between those xx_copys and the matlab &lt;A href="https://www.mathworks.com/help/matlab/ref/copyfile.html#d124e271005" target="_blank" rel="noopener"&gt;copyfile&lt;/A&gt;&amp;nbsp;function?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you.&amp;nbsp;&lt;/P&gt;&lt;P&gt;bo&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Nov 2022 15:31:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/how-to-Add-user-defined-cache-here-in-mbd-s32k-tlc/m-p/1549777#M7805</guid>
      <dc:creator>bolei</dc:creator>
      <dc:date>2022-11-07T15:31:06Z</dc:date>
    </item>
    <item>
      <title>Re: how to %% Add user defined cache here in mbd_s32k.tlc</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/how-to-Add-user-defined-cache-here-in-mbd-s32k-tlc/m-p/1549787#M7806</link>
      <description>&lt;P&gt;hello &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;one more question, I tried to dig-into he code generation process recently while after i found the mbd_s32k.tlc I could not fond other .tlc, .m, or .tmf been called from anywhere.... while I am kind of sure I found the right tmf file since my changes on that will shows in the generated .c and .h....&lt;/P&gt;&lt;P&gt;could you please let me know what is the sequence of those files been called or what .tlc provide by nxp have been used for the code generation of s32k?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you.&amp;nbsp;&lt;/P&gt;&lt;P&gt;bo&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Nov 2022 15:41:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/how-to-Add-user-defined-cache-here-in-mbd-s32k-tlc/m-p/1549787#M7806</guid>
      <dc:creator>bolei</dc:creator>
      <dc:date>2022-11-07T15:41:17Z</dc:date>
    </item>
  </channel>
</rss>

