<?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 NXP MBTK example lpuart_hello_world_S32K14x fails with model error in PIL build in Model-Based Design Toolbox (MBDT)</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/NXP-MBTK-example-lpuart-hello-world-S32K14x-fails-with-model/m-p/1245000#M5872</link>
    <description>&lt;P&gt;When I build this example in MATLAB/Simulink 2020a in PIL mode, it builds and deploys successfully, but fails execution with a run error:&lt;/P&gt;&lt;DIV class="aMsgTextOuterClass"&gt;&lt;SPAN class="aMsgTextClass blue a:link"&gt;Array indices must be positive integers or logical values.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="aInnerContentClass aMsgTextOuterClass"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="aFooterClass aMsgTextOuterClass"&gt;&lt;SPAN class="aComponentLabelClass"&gt;Component:&lt;/SPAN&gt;&lt;SPAN class="aComponentValueClass"&gt;Simulink&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;|&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="aCategoryLabelClass"&gt;Category:&lt;/SPAN&gt;&lt;SPAN class="aCategoryValueClass"&gt;Model error&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="aFooterClass aMsgTextOuterClass"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="aFooterClass aMsgTextOuterClass"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;Trying to run it in SIL mode produces all sorts of UART-related errors and doesn't seem relevant, except that I don't get this particular model error.&lt;/P&gt;&lt;P&gt;I've poked around at the model but am new enough to this whole process that I don't see how to determine where it is failing. All the blocks in the model are outlined in red, which isn't very helpful. And anyway, I suspect that the model error report is a side effect of the real problem. Has anybody seen this and how do I fix it?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 12 Mar 2021 17:39:33 GMT</pubDate>
    <dc:creator>neffnan</dc:creator>
    <dc:date>2021-03-12T17:39:33Z</dc:date>
    <item>
      <title>NXP MBTK example lpuart_hello_world_S32K14x fails with model error in PIL build</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/NXP-MBTK-example-lpuart-hello-world-S32K14x-fails-with-model/m-p/1245000#M5872</link>
      <description>&lt;P&gt;When I build this example in MATLAB/Simulink 2020a in PIL mode, it builds and deploys successfully, but fails execution with a run error:&lt;/P&gt;&lt;DIV class="aMsgTextOuterClass"&gt;&lt;SPAN class="aMsgTextClass blue a:link"&gt;Array indices must be positive integers or logical values.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="aInnerContentClass aMsgTextOuterClass"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="aFooterClass aMsgTextOuterClass"&gt;&lt;SPAN class="aComponentLabelClass"&gt;Component:&lt;/SPAN&gt;&lt;SPAN class="aComponentValueClass"&gt;Simulink&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;|&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="aCategoryLabelClass"&gt;Category:&lt;/SPAN&gt;&lt;SPAN class="aCategoryValueClass"&gt;Model error&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="aFooterClass aMsgTextOuterClass"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="aFooterClass aMsgTextOuterClass"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;Trying to run it in SIL mode produces all sorts of UART-related errors and doesn't seem relevant, except that I don't get this particular model error.&lt;/P&gt;&lt;P&gt;I've poked around at the model but am new enough to this whole process that I don't see how to determine where it is failing. All the blocks in the model are outlined in red, which isn't very helpful. And anyway, I suspect that the model error report is a side effect of the real problem. Has anybody seen this and how do I fix it?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Mar 2021 17:39:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/NXP-MBTK-example-lpuart-hello-world-S32K14x-fails-with-model/m-p/1245000#M5872</guid>
      <dc:creator>neffnan</dc:creator>
      <dc:date>2021-03-12T17:39:33Z</dc:date>
    </item>
  </channel>
</rss>

