<?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 PIL simulation - multiple target patterns issue in generated makefile in Model-Based Design Toolbox (MBDT)</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/PIL-simulation-multiple-target-patterns-issue-in-generated/m-p/1074920#M4642</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using the latest S32K MBD Toolbox with the latest patch available (&lt;STRONG style="color: #51626f; border: 0px; font-weight: bold;"&gt;NXP_MBDToolbox_S32K1xx_4.1.0_patch_2.exe&lt;/STRONG&gt;&lt;SPAN style="color: #51626f; border: 0px; font-weight: inherit;"&gt;&amp;nbsp;).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; border: 0px; font-weight: inherit;"&gt;I'm trying to run a PIL simulation of a referenced model configured with Top model code interface within a a test harness model. My referenced model generates code and builds without any problem. However, when I try to run a PIL simulation I get this&amp;nbsp;error while calling into the PIL target connectivity implementation:&lt;/SPAN&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;C:\rep\model\testmodel\testmodel_mbd_rtw\pil&amp;gt;"C:\Program Files\MATLAB\R2019b\bin\win64\gmake" -f testmodel.mk COPY_MDLREF_INCLUDES=0 GENERATE_ERT_S_FUNCTION=0 INCLUDE_MDL_TERMINATE_FCN=1 COMBINE_OUTPUT_UPDATE_FCNS=1 MULTI_INSTANCE_CODE=0 INTEGER_CODE=0 ISPROTECTINGMODEL=NOTPROTECTING OPTS="-DPROFILING_DEFINE_UINT64_TIMER_TYPE -DCODER_ASSUMPTIONS_ENABLED=0 -DRTIOSTREAM_RX_BUFFER_BYTE_SIZE=128 -DRTIOSTREAM_TX_BUFFER_BYTE_SIZE=128 -DCODE_INSTRUMENTATION_ENABLED=1 -DMEM_UNIT_BYTES=1 -DMemUnit_T=uint8_T" testmodel.mk:649: *** multiple target patterns. Stop.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;Can this be caused by a bug in the&amp;nbsp;template makefile &lt;EM&gt;mbd_s32k.tmf&lt;/EM&gt;?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;Is there an extra configuration that I'm missing?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;Thanks,&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;Nicolas.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Apr 2020 14:34:34 GMT</pubDate>
    <dc:creator>nicolas_salazar</dc:creator>
    <dc:date>2020-04-08T14:34:34Z</dc:date>
    <item>
      <title>PIL simulation - multiple target patterns issue in generated makefile</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/PIL-simulation-multiple-target-patterns-issue-in-generated/m-p/1074920#M4642</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using the latest S32K MBD Toolbox with the latest patch available (&lt;STRONG style="color: #51626f; border: 0px; font-weight: bold;"&gt;NXP_MBDToolbox_S32K1xx_4.1.0_patch_2.exe&lt;/STRONG&gt;&lt;SPAN style="color: #51626f; border: 0px; font-weight: inherit;"&gt;&amp;nbsp;).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; border: 0px; font-weight: inherit;"&gt;I'm trying to run a PIL simulation of a referenced model configured with Top model code interface within a a test harness model. My referenced model generates code and builds without any problem. However, when I try to run a PIL simulation I get this&amp;nbsp;error while calling into the PIL target connectivity implementation:&lt;/SPAN&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;C:\rep\model\testmodel\testmodel_mbd_rtw\pil&amp;gt;"C:\Program Files\MATLAB\R2019b\bin\win64\gmake" -f testmodel.mk COPY_MDLREF_INCLUDES=0 GENERATE_ERT_S_FUNCTION=0 INCLUDE_MDL_TERMINATE_FCN=1 COMBINE_OUTPUT_UPDATE_FCNS=1 MULTI_INSTANCE_CODE=0 INTEGER_CODE=0 ISPROTECTINGMODEL=NOTPROTECTING OPTS="-DPROFILING_DEFINE_UINT64_TIMER_TYPE -DCODER_ASSUMPTIONS_ENABLED=0 -DRTIOSTREAM_RX_BUFFER_BYTE_SIZE=128 -DRTIOSTREAM_TX_BUFFER_BYTE_SIZE=128 -DCODE_INSTRUMENTATION_ENABLED=1 -DMEM_UNIT_BYTES=1 -DMemUnit_T=uint8_T" testmodel.mk:649: *** multiple target patterns. Stop.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;Can this be caused by a bug in the&amp;nbsp;template makefile &lt;EM&gt;mbd_s32k.tmf&lt;/EM&gt;?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;Is there an extra configuration that I'm missing?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;Thanks,&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;Nicolas.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Apr 2020 14:34:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/PIL-simulation-multiple-target-patterns-issue-in-generated/m-p/1074920#M4642</guid>
      <dc:creator>nicolas_salazar</dc:creator>
      <dc:date>2020-04-08T14:34:34Z</dc:date>
    </item>
    <item>
      <title>Re: PIL simulation - multiple target patterns issue in generated makefile</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/PIL-simulation-multiple-target-patterns-issue-in-generated/m-p/1074921#M4643</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/nicolas.salazar@lightyear.one"&gt;nicolas.salazar@lightyear.one&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is a known issue caused by how Matlab R2019b generates the makefile used to build the application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The workaround is to install the Matlab to a path that doesn't contain spaces in it. Move Matlab from&amp;nbsp;&lt;SPAN style="background-color: #ffffff; color: #000000;"&gt;&lt;STRONG&gt;C:\Program Files\MATLAB\R2019b&lt;/STRONG&gt;&lt;/SPAN&gt; to &lt;SPAN style="background-color: #ffffff; color: #000000;"&gt;&lt;STRONG&gt;C:\MATLAB\R2019b&lt;/STRONG&gt;&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;You can copy/paste the &lt;STRONG&gt;MATLAB&lt;/STRONG&gt; folder instead of installing Matlab again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Apr 2020 14:48:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/PIL-simulation-multiple-target-patterns-issue-in-generated/m-p/1074921#M4643</guid>
      <dc:creator>paulvlase</dc:creator>
      <dc:date>2020-04-08T14:48:07Z</dc:date>
    </item>
    <item>
      <title>Re: PIL simulation - multiple target patterns issue in generated makefile</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/PIL-simulation-multiple-target-patterns-issue-in-generated/m-p/1187431#M5386</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have to add that you need to remove the spaces from the Add-ons installation path too (you can see it in Preferences -&amp;gt; Matlab -&amp;gt; Add-ons).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Kindest regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Bancila Sorin&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Nov 2020 11:03:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/PIL-simulation-multiple-target-patterns-issue-in-generated/m-p/1187431#M5386</guid>
      <dc:creator>SorinIBancila</dc:creator>
      <dc:date>2020-11-23T11:03:05Z</dc:date>
    </item>
    <item>
      <title>Re: PIL simulation - multiple target patterns issue in generated makefile</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/PIL-simulation-multiple-target-patterns-issue-in-generated/m-p/1211260#M5623</link>
      <description>&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I guess I am facing with same issue. I think I could not be able to find the solution if I would not run into this community thread. Thanks for all contributors. Tomorrow, I will demand directory change of Matlab from IT deparment. According to result, I will write here.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PIL_ERR.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/134693i5AD5D0F3CB1B165F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PIL_ERR.png" alt="PIL_ERR.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jan 2021 18:11:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/PIL-simulation-multiple-target-patterns-issue-in-generated/m-p/1211260#M5623</guid>
      <dc:creator>ykarata1</dc:creator>
      <dc:date>2021-01-13T18:11:54Z</dc:date>
    </item>
    <item>
      <title>Re: PIL simulation - multiple target patterns issue in generated makefile</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/PIL-simulation-multiple-target-patterns-issue-in-generated/m-p/1213325#M5649</link>
      <description>&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;With our IT team, we have changed the directory that Matlab has located and our PIL has worked succesfully. I want to thank all of the contributors because I would not suspect from directory and this problem would take days from me. But I think NXP and MATLAB should handle that problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jan 2021 12:02:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/PIL-simulation-multiple-target-patterns-issue-in-generated/m-p/1213325#M5649</guid>
      <dc:creator>ykarata1</dc:creator>
      <dc:date>2021-01-18T12:02:00Z</dc:date>
    </item>
  </channel>
</rss>

