<?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: The + operator only works on numeric arguments in Model-Based Design Toolbox (MBDT)</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/The-operator-only-works-on-numeric-arguments/m-p/1226504#M5719</link>
    <description>&lt;P&gt;&amp;nbsp; I tried your solution but when I went on running the PIL I got the attached&amp;nbsp; error. I am using Simulink 2018b,&amp;nbsp;&lt;SPAN class="addonName"&gt;NXP_MBDToolbox_MPC57xx&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="addonDescription versionNode"&gt;&lt;SPAN class="versionLabel"&gt;version&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="versionValue"&gt;3.2.0&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 04 Feb 2021 15:24:26 GMT</pubDate>
    <dc:creator>Dina_ayoub</dc:creator>
    <dc:date>2021-02-04T15:24:26Z</dc:date>
    <item>
      <title>The + operator only works on numeric arguments</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/The-operator-only-works-on-numeric-arguments/m-p/1225536#M5702</link>
      <description>&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;I am using the input capture unit in the eTimer example (Simulink Model based) to output the frequency and duty cycle value of a FlexPWM signal, the model is successfully built and the outputs are correct, BUT when I try performing PIL I always get this error ("The + operator only works on numeric arguments") related to a .tlc file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anyone know how to fix it?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Feb 2021 12:05:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/The-operator-only-works-on-numeric-arguments/m-p/1225536#M5702</guid>
      <dc:creator>Dina_ayoub</dc:creator>
      <dc:date>2021-02-03T12:05:30Z</dc:date>
    </item>
    <item>
      <title>Re: The + operator only works on numeric arguments</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/The-operator-only-works-on-numeric-arguments/m-p/1225706#M5709</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/183027"&gt;@Dina_ayoub&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks to&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/24319"&gt;@paulvlase&lt;/a&gt;&amp;nbsp;the fix is pretty simple.&lt;/P&gt;
&lt;P&gt;You have to go to the capture subsystem, right click on it, select "Block Parameters" and under "Code generation" you have to select the Function packaging as&amp;nbsp; "Nonreusable function".&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mariuslucianand_0-1612370517737.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/136432i18FCBDF3BA67B233/image-size/large?v=v2&amp;amp;px=999" role="button" title="mariuslucianand_0-1612370517737.png" alt="mariuslucianand_0-1612370517737.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The measured values looks like this:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mariuslucianand_1-1612370548349.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/136433iEBC26985F7E9143C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mariuslucianand_1-1612370548349.png" alt="mariuslucianand_1-1612370548349.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, 03 Feb 2021 16:42:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/The-operator-only-works-on-numeric-arguments/m-p/1225706#M5709</guid>
      <dc:creator>mariuslucianand</dc:creator>
      <dc:date>2021-02-03T16:42:52Z</dc:date>
    </item>
    <item>
      <title>Re: The + operator only works on numeric arguments</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/The-operator-only-works-on-numeric-arguments/m-p/1226445#M5715</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/72088"&gt;@mariuslucianand&lt;/a&gt;&amp;nbsp; I tried your solution but when I went on running the PIL I got the attached&amp;nbsp; error. I am using Simulink 2018b.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Feb 2021 13:38:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/The-operator-only-works-on-numeric-arguments/m-p/1226445#M5715</guid>
      <dc:creator>Dina_ayoub</dc:creator>
      <dc:date>2021-02-04T13:38:49Z</dc:date>
    </item>
    <item>
      <title>Re: The + operator only works on numeric arguments</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/The-operator-only-works-on-numeric-arguments/m-p/1226504#M5719</link>
      <description>&lt;P&gt;&amp;nbsp; I tried your solution but when I went on running the PIL I got the attached&amp;nbsp; error. I am using Simulink 2018b,&amp;nbsp;&lt;SPAN class="addonName"&gt;NXP_MBDToolbox_MPC57xx&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="addonDescription versionNode"&gt;&lt;SPAN class="versionLabel"&gt;version&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="versionValue"&gt;3.2.0&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Feb 2021 15:24:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/The-operator-only-works-on-numeric-arguments/m-p/1226504#M5719</guid>
      <dc:creator>Dina_ayoub</dc:creator>
      <dc:date>2021-02-04T15:24:26Z</dc:date>
    </item>
    <item>
      <title>Re: The + operator only works on numeric arguments</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/The-operator-only-works-on-numeric-arguments/m-p/1227325#M5723</link>
      <description>&lt;P&gt;The &amp;amp; , ^ , | , &amp;lt;&amp;lt; , &amp;gt;&amp;gt; and % operators only work on numbers. The arguments to the following operators both must be either Number or Real: &amp;lt; , &amp;lt;= , &amp;gt; , &amp;gt;= , - , * , / . This can also happen when using + as an unary operator. In addition, the FORMAT built-in function expects either a Number or Real argument.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Feb 2021 18:49:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/The-operator-only-works-on-numeric-arguments/m-p/1227325#M5723</guid>
      <dc:creator>Gerhold</dc:creator>
      <dc:date>2021-02-05T18:49:58Z</dc:date>
    </item>
    <item>
      <title>Re: The + operator only works on numeric arguments</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/The-operator-only-works-on-numeric-arguments/m-p/1227432#M5725</link>
      <description>&lt;P&gt;The &amp;amp; , ^ , | , &amp;lt;&amp;lt; , &amp;gt;&amp;gt; and % operators only work on numbers. The arguments to the following operators both must be either Number or Real: &amp;lt; , &amp;lt;= , &amp;gt; , &amp;gt;= , - , * , / . This can also happen when using + as an unary operator. In addition, the FORMAT built-in function expects either a Number or Real argument.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.jcpenneykiosk.us/" target="_self"&gt;jcp kiosk&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 06 Feb 2021 15:27:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/The-operator-only-works-on-numeric-arguments/m-p/1227432#M5725</guid>
      <dc:creator>Gerhold</dc:creator>
      <dc:date>2021-02-06T15:27:25Z</dc:date>
    </item>
  </channel>
</rss>

