<?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>S32KのトピックS32K14x:import simulink code to S32DS</title>
    <link>https://community.nxp.com/t5/S32K/S32K14x-import-simulink-code-to-S32DS/m-p/1381507#M13087</link>
    <description>&lt;P&gt;&lt;SPAN&gt;I just started learning to use Simulink in combination with MCU.&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;How to import simulink-generated code into S32DS so that it can be executed in conjunction with projects in S32DS. So that part of our project was designed by Simulink, the hardware driver code and main functions were handmade in the S32DS.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;For example,there are three variables defined by Simulink modeling, i have generated the c code of the Simulink modeling,i want to import it into S32DS, and then the SDK package is used to configure the values of the variables to the values of ADC voltage sampling.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 05 Dec 2021 12:55:08 GMT</pubDate>
    <dc:creator>Lilac</dc:creator>
    <dc:date>2021-12-05T12:55:08Z</dc:date>
    <item>
      <title>S32K14x:import simulink code to S32DS</title>
      <link>https://community.nxp.com/t5/S32K/S32K14x-import-simulink-code-to-S32DS/m-p/1381507#M13087</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I just started learning to use Simulink in combination with MCU.&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;How to import simulink-generated code into S32DS so that it can be executed in conjunction with projects in S32DS. So that part of our project was designed by Simulink, the hardware driver code and main functions were handmade in the S32DS.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;For example,there are three variables defined by Simulink modeling, i have generated the c code of the Simulink modeling,i want to import it into S32DS, and then the SDK package is used to configure the values of the variables to the values of ADC voltage sampling.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 05 Dec 2021 12:55:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K14x-import-simulink-code-to-S32DS/m-p/1381507#M13087</guid>
      <dc:creator>Lilac</dc:creator>
      <dc:date>2021-12-05T12:55:08Z</dc:date>
    </item>
    <item>
      <title>Re: S32K14x:import simulink code to S32DS</title>
      <link>https://community.nxp.com/t5/S32K/S32K14x-import-simulink-code-to-S32DS/m-p/1381680#M13090</link>
      <description>&lt;P&gt;&lt;A href="mailto:Hi@Lilac" target="_blank"&gt;Hi@Lilac&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;1.For example:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;simulink_example.h&lt;/STRONG&gt;(generated by matlab)&lt;/P&gt;
&lt;LI-CODE lang="c"&gt;/* Imported (extern) block signals */
extern uint8_T Input_1;/* '&amp;lt;Root&amp;gt;/In1' */&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;STRONG&gt;main.c&lt;/STRONG&gt;&lt;/P&gt;
&lt;LI-CODE lang="c"&gt;#Include "simulnk.h"

/*Define Simulink Stateflow Chart Input parameters*
uint8_T	 	Input_1 = 0;&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2.How to include external files,and add the files path&lt;/P&gt;
&lt;P&gt;for example.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Senlent_0-1638770995585.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/164116iB7B9BC836E7DF3CB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Senlent_0-1638770995585.png" alt="Senlent_0-1638770995585.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Senlent_0-1638770995585.png&lt;/span&gt;&lt;/span&gt;&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="Senlent_1-1638771017185.png" style="width: 377px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/164117i9631488E956ACBDA/image-dimensions/377x241?v=v2" width="377" height="241" role="button" title="Senlent_1-1638771017185.png" alt="Senlent_1-1638771017185.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Senlent_1-1638771017185.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;BR!&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Jim,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Dec 2021 06:11:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K14x-import-simulink-code-to-S32DS/m-p/1381680#M13090</guid>
      <dc:creator>Senlent</dc:creator>
      <dc:date>2021-12-06T06:11:32Z</dc:date>
    </item>
    <item>
      <title>Re: S32K14x:import simulink code to S32DS</title>
      <link>https://community.nxp.com/t5/S32K/S32K14x-import-simulink-code-to-S32DS/m-p/1381726#M13091</link>
      <description>&lt;P&gt;Thanks for your reply!&lt;/P&gt;&lt;P&gt;But the last picture is really unclear, I can't see what you chose. And this is my screenshot, can you tell me which one is the right one?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Lilac_0-1638774639286.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/164139iDBC6BB49453E33A7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Lilac_0-1638774639286.png" alt="Lilac_0-1638774639286.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Lilac_0-1638774639286.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Dec 2021 07:11:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K14x-import-simulink-code-to-S32DS/m-p/1381726#M13091</guid>
      <dc:creator>Lilac</dc:creator>
      <dc:date>2021-12-06T07:11:24Z</dc:date>
    </item>
    <item>
      <title>Re: S32K14x:import simulink code to S32DS</title>
      <link>https://community.nxp.com/t5/S32K/S32K14x-import-simulink-code-to-S32DS/m-p/1381779#M13092</link>
      <description>&lt;P&gt;&lt;A href="mailto:Hi@Lilac" target="_blank"&gt;Hi@Lilac&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;It doesn't matter,for the last picture, I just want to tell you where to add or delete the files path.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Senlent_0-1638777547427.png" style="width: 547px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/164160i5C488C76EF4F26C1/image-dimensions/547x402?v=v2" width="547" height="402" role="button" title="Senlent_0-1638777547427.png" alt="Senlent_0-1638777547427.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Senlent_0-1638777547427.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;BR!&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Jim,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Dec 2021 08:00:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K14x-import-simulink-code-to-S32DS/m-p/1381779#M13092</guid>
      <dc:creator>Senlent</dc:creator>
      <dc:date>2021-12-06T08:00:07Z</dc:date>
    </item>
  </channel>
</rss>

