<?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)のトピックRe: How to run a task/function using MBDT on Matlab/Simulink?</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-to-run-a-task-function-using-MBDT-on-Matlab-Simulink/m-p/1298284#M6223</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/186874"&gt;@rolo90&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;MBDT generates bare-metal code so no RTOS is used. If you want to add a function to be executed periodically, you have to use a timer, for example PIT to trigger periodically the code you need.&lt;/P&gt;
&lt;P&gt;Hope this helps,&lt;/P&gt;
&lt;P&gt;Marius&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 25 Jun 2021 08:09:35 GMT</pubDate>
    <dc:creator>mariuslucianand</dc:creator>
    <dc:date>2021-06-25T08:09:35Z</dc:date>
    <item>
      <title>How to run a task/function using MBDT on Matlab/Simulink?</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-to-run-a-task-function-using-MBDT-on-Matlab-Simulink/m-p/1298067#M6219</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;I wonder how can you allocate a task or function to run in the background loop using NXP MBD toolbox on Matlab/Simulink? Can this functionality be added?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Rolando&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jun 2021 02:54:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-to-run-a-task-function-using-MBDT-on-Matlab-Simulink/m-p/1298067#M6219</guid>
      <dc:creator>rolo90</dc:creator>
      <dc:date>2021-06-25T02:54:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to run a task/function using MBDT on Matlab/Simulink?</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-to-run-a-task-function-using-MBDT-on-Matlab-Simulink/m-p/1298284#M6223</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/186874"&gt;@rolo90&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;MBDT generates bare-metal code so no RTOS is used. If you want to add a function to be executed periodically, you have to use a timer, for example PIT to trigger periodically the code you need.&lt;/P&gt;
&lt;P&gt;Hope this helps,&lt;/P&gt;
&lt;P&gt;Marius&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jun 2021 08:09:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-to-run-a-task-function-using-MBDT-on-Matlab-Simulink/m-p/1298284#M6223</guid>
      <dc:creator>mariuslucianand</dc:creator>
      <dc:date>2021-06-25T08:09:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to run a task/function using MBDT on Matlab/Simulink?</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-to-run-a-task-function-using-MBDT-on-Matlab-Simulink/m-p/1298390#M6230</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;&lt;/P&gt;&lt;P&gt;I want the function to run on the infinite while loop. I am aiming for something like this:&amp;nbsp;&lt;/P&gt;&lt;P&gt;int main()&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; while(1) {&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; MyFunction();&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;Is it possible?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Rolando&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jun 2021 10:14:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-to-run-a-task-function-using-MBDT-on-Matlab-Simulink/m-p/1298390#M6230</guid>
      <dc:creator>rolo90</dc:creator>
      <dc:date>2021-06-25T10:14:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to run a task/function using MBDT on Matlab/Simulink?</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-to-run-a-task-function-using-MBDT-on-Matlab-Simulink/m-p/1300396#M6244</link>
      <description>&lt;P&gt;Hello Rolando,&lt;/P&gt;
&lt;P&gt;the only way in which this can be done, is to open the mbdtargetmainlibs32k.tlc attached in the toolbox, look inside that file and add your function name in the following location. Then insert your function with custom code.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mariuslucianand_0-1625054226816.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/148380iEADCCE646B6C5105/image-size/large?v=v2&amp;amp;px=999" role="button" title="mariuslucianand_0-1625054226816.png" alt="mariuslucianand_0-1625054226816.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Hope this helps,&lt;/P&gt;
&lt;P&gt;Marius&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jun 2021 11:57:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-to-run-a-task-function-using-MBDT-on-Matlab-Simulink/m-p/1300396#M6244</guid>
      <dc:creator>mariuslucianand</dc:creator>
      <dc:date>2021-06-30T11:57:54Z</dc:date>
    </item>
  </channel>
</rss>

