<?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 Custom C code and PIL simulaiton with MATLAB Simulink in Model-Based Design Toolbox (MBDT)</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Custom-C-code-and-PIL-simulaiton-with-MATLAB-Simulink/m-p/1662898#M8263</link>
    <description>&lt;P&gt;I have seen that the MBDT is used to generate C code based on Simulink modules to reduce prototyping engineering process. In my case I want to test my own C code project&amp;nbsp;&lt;SPAN&gt;in PIL (Processor-In-the-Loop) simulation within Simulink. I want to visualize some outputs with the Scope feature in Simulink.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I am using a S32K144EVB and the MATLAB R2017a. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Does anyone know how can I set up the environment of PIL simulation and where to include my C code project in the process?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you in advance.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 02 Jun 2023 21:06:20 GMT</pubDate>
    <dc:creator>Fili</dc:creator>
    <dc:date>2023-06-02T21:06:20Z</dc:date>
    <item>
      <title>Custom C code and PIL simulaiton with MATLAB Simulink</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Custom-C-code-and-PIL-simulaiton-with-MATLAB-Simulink/m-p/1662898#M8263</link>
      <description>&lt;P&gt;I have seen that the MBDT is used to generate C code based on Simulink modules to reduce prototyping engineering process. In my case I want to test my own C code project&amp;nbsp;&lt;SPAN&gt;in PIL (Processor-In-the-Loop) simulation within Simulink. I want to visualize some outputs with the Scope feature in Simulink.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I am using a S32K144EVB and the MATLAB R2017a. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Does anyone know how can I set up the environment of PIL simulation and where to include my C code project in the process?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you in advance.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jun 2023 21:06:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Custom-C-code-and-PIL-simulaiton-with-MATLAB-Simulink/m-p/1662898#M8263</guid>
      <dc:creator>Fili</dc:creator>
      <dc:date>2023-06-02T21:06:20Z</dc:date>
    </item>
  </channel>
</rss>

