<?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 How to input Pointer parameter in Simulink when using custum code in Model-Based Design Toolbox (MBDT)</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-to-input-Pointer-parameter-in-Simulink-when-using-custum/m-p/1810385#M8844</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am still trying to use PWM Input with&amp;nbsp;S32K3X4EVB-Q172 in MCSPTE1AK344. I am using Simulink 2022b.&lt;/P&gt;&lt;P&gt;From the BLDC control example, I learned that we can use Matlab function with&amp;nbsp;&lt;SPAN&gt;coder.ceval function to call C functions in S32K3 API. However, I wonder how to use the Icu_getDutycycleValues API, since it asks a pointer input parameter. I don't know how to trans a pointer of&amp;nbsp; the structure into a matlab function. can any body give me some suggestions? Or maybe I should use other methods to call "&lt;SPAN&gt; Icu_getDutycycleValues()&lt;/SPAN&gt;"?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Can anybody tell me how to get the duty cycle of a PWM input signal in detail? I really appreciate it.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 18 Feb 2024 11:14:25 GMT</pubDate>
    <dc:creator>RegulusCheng</dc:creator>
    <dc:date>2024-02-18T11:14:25Z</dc:date>
    <item>
      <title>How to input Pointer parameter in Simulink when using custum code</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-to-input-Pointer-parameter-in-Simulink-when-using-custum/m-p/1810385#M8844</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am still trying to use PWM Input with&amp;nbsp;S32K3X4EVB-Q172 in MCSPTE1AK344. I am using Simulink 2022b.&lt;/P&gt;&lt;P&gt;From the BLDC control example, I learned that we can use Matlab function with&amp;nbsp;&lt;SPAN&gt;coder.ceval function to call C functions in S32K3 API. However, I wonder how to use the Icu_getDutycycleValues API, since it asks a pointer input parameter. I don't know how to trans a pointer of&amp;nbsp; the structure into a matlab function. can any body give me some suggestions? Or maybe I should use other methods to call "&lt;SPAN&gt; Icu_getDutycycleValues()&lt;/SPAN&gt;"?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Can anybody tell me how to get the duty cycle of a PWM input signal in detail? I really appreciate it.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 18 Feb 2024 11:14:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-to-input-Pointer-parameter-in-Simulink-when-using-custum/m-p/1810385#M8844</guid>
      <dc:creator>RegulusCheng</dc:creator>
      <dc:date>2024-02-18T11:14:25Z</dc:date>
    </item>
  </channel>
</rss>

