<?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 Re: How to read Simulink signals with FreeMASTER ?  in Model-Based Design Toolbox (MBDT)</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-to-read-Simulink-signals-with-FreeMASTER/m-p/695194#M1099</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/lethuer"&gt;lethuer&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;Matlab code generation will optimize out some of the signal.&lt;/P&gt;&lt;P&gt;You can force a signal to be kept in the final elf by using a few tricks like:&lt;/P&gt;&lt;P&gt;- connect the signal to a Data Store &amp;amp; Data Memory Write&amp;nbsp;&amp;nbsp;Blocks and then display it in FreeMASTER;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/4054i3B055019843FDDDD/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;-&amp;nbsp; use a generic Out Block to connect the signal instead of Terminator;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/4102iABD1C3564E9B9FAB/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Sep 2017 15:58:07 GMT</pubDate>
    <dc:creator>Daniel_Popa</dc:creator>
    <dc:date>2017-09-28T15:58:07Z</dc:date>
    <item>
      <title>How to read Simulink signals with FreeMASTER ?</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-to-read-Simulink-signals-with-FreeMASTER/m-p/695193#M1098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After building this model in FreeMASTER the variable "Poti ADC Wert" is in the variable list.&lt;/P&gt;&lt;P&gt;But the variable "Poti ADC Wert umgerechnet" isn't.&lt;/P&gt;&lt;P&gt;Obviously the gain block changes something...&lt;/P&gt;&lt;P&gt;How can I diplay the variable after the gain ?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Poti mit Umrechnung.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/4138iC9B678EB7265DEF8/image-size/large?v=v2&amp;amp;px=999" role="button" title="Poti mit Umrechnung.PNG" alt="Poti mit Umrechnung.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Sep 2017 15:38:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-to-read-Simulink-signals-with-FreeMASTER/m-p/695193#M1098</guid>
      <dc:creator>lethuer</dc:creator>
      <dc:date>2017-09-28T15:38:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to read Simulink signals with FreeMASTER ?</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-to-read-Simulink-signals-with-FreeMASTER/m-p/695194#M1099</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/lethuer"&gt;lethuer&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;Matlab code generation will optimize out some of the signal.&lt;/P&gt;&lt;P&gt;You can force a signal to be kept in the final elf by using a few tricks like:&lt;/P&gt;&lt;P&gt;- connect the signal to a Data Store &amp;amp; Data Memory Write&amp;nbsp;&amp;nbsp;Blocks and then display it in FreeMASTER;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/4054i3B055019843FDDDD/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;-&amp;nbsp; use a generic Out Block to connect the signal instead of Terminator;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/4102iABD1C3564E9B9FAB/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Sep 2017 15:58:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-to-read-Simulink-signals-with-FreeMASTER/m-p/695194#M1099</guid>
      <dc:creator>Daniel_Popa</dc:creator>
      <dc:date>2017-09-28T15:58:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to read Simulink signals with FreeMASTER ?</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-to-read-Simulink-signals-with-FreeMASTER/m-p/695195#M1100</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/dumitru-daniel.popa"&gt;dumitru-daniel.popa&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now I've created this model:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="ADC mit FreeMASTER - Trick.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/13077i0C70E8CF27364D35/image-size/large?v=v2&amp;amp;px=999" role="button" title="ADC mit FreeMASTER - Trick.png" alt="ADC mit FreeMASTER - Trick.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;In FreeMASTER the variable "Poti ADC Wert" is still visible.&lt;/P&gt;&lt;P&gt;But I can still not see the&amp;nbsp;signals "Variante A - Poti ADC Wert umgerechnet" and "Variante&amp;nbsp;B - Poti ADC Wert umgerechnet" in the variable list of FreeMASTER.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A variable &amp;lt;Modelname&amp;gt;.Out1 is now in the variable list and can be displayed.&lt;/P&gt;&lt;P&gt;A variable &amp;lt;Modelname&amp;gt;.Datastore or something like that I can not find. How the Data Store variable will be called ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Oct 2017 07:57:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-to-read-Simulink-signals-with-FreeMASTER/m-p/695195#M1100</guid>
      <dc:creator>lethuer</dc:creator>
      <dc:date>2017-10-05T07:57:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to read Simulink signals with FreeMASTER ?</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-to-read-Simulink-signals-with-FreeMASTER/m-p/695196#M1101</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/lethuer"&gt;lethuer&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;Sorry for delayed answer - i had issues with log in.&lt;/P&gt;&lt;P&gt;Can you send me your Simulink model, generated code and FreeMASTER project ?&lt;/P&gt;&lt;P&gt;I want to check the issue with your original files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Oct 2017 15:02:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-to-read-Simulink-signals-with-FreeMASTER/m-p/695196#M1101</guid>
      <dc:creator>Daniel_Popa</dc:creator>
      <dc:date>2017-10-06T15:02:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to read Simulink signals with FreeMASTER ?</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-to-read-Simulink-signals-with-FreeMASTER/m-p/695197#M1102</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/dumitru-daniel.popa"&gt;dumitru-daniel.popa&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sorry for delayed answer.&lt;/P&gt;&lt;P&gt;Here you have the model, the generated code and the FreeMASTER Project as an Attachement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Oct 2017 09:58:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-to-read-Simulink-signals-with-FreeMASTER/m-p/695197#M1102</guid>
      <dc:creator>lethuer</dc:creator>
      <dc:date>2017-10-19T09:58:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to read Simulink signals with FreeMASTER ?</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-to-read-Simulink-signals-with-FreeMASTER/m-p/695198#M1103</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/lethuer"&gt;lethuer&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;It looks like the Simulink is optimizing out that variable.&lt;/P&gt;&lt;P&gt;You can keep that that variable by forcing the Simulink to consider it as a volatile variable. Open the Data Store Memory block properties and select the appropriate storage class.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/32161iB68678D12B83D978/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Recompile the application and you should see the variable now in the *.map file and also available in the FreeMASTER&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;CLOCK_SYS_GetGateCmd 0x00001273 0xc Code Gb fsl_clock_manager.o [1]&lt;BR /&gt;CLOCK_SYS_GetSystemClock&lt;BR /&gt; 0x00001205 0x5a Code Gb fsl_clock_manager.o [1]&lt;BR /&gt;CSTACK$$Base 0x1fffc818 -- Gb - Linker created -&lt;BR /&gt;CSTACK$$Limit 0x1fffcc18 -- Gb - Linker created -&lt;BR /&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;Datenspeicher_A 0x1fffc054 0x2 Data Gb NXP_Poti_mit_ADC_und_FreeMASTER_20171005.o [1]&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;FMSTR_AddressFromBuffer&lt;BR /&gt; 0x00000717 0xe Code Gb freemaster_Kxx.o [1]&lt;BR /&gt;FMSTR_AddressToBuffer 0x00000701 0xe Code Gb freemaster_Kxx.o [1]&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_7.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/33196i0F7A4AC7E8350B9E/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_7.png" alt="pastedImage_7.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_8.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/32789i14DFC1376605599F/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_8.png" alt="pastedImage_8.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Oct 2017 14:43:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-to-read-Simulink-signals-with-FreeMASTER/m-p/695198#M1103</guid>
      <dc:creator>Daniel_Popa</dc:creator>
      <dc:date>2017-10-19T14:43:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to read Simulink signals with FreeMASTER ?</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-to-read-Simulink-signals-with-FreeMASTER/m-p/1449328#M7224</link>
      <description>&lt;P&gt;I have the same issue, but can't see an option to define the storage class in the data store block parameter:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="swmurray_0-1650988651134.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/178042iDDAB56A60B4A2B0E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="swmurray_0-1650988651134.png" alt="swmurray_0-1650988651134.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I am using R2021b, so suppose this may be different... Is there another way to prevent the code generation from optimising away all my data stores? - it's very frustrating.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sean.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Apr 2022 16:05:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-to-read-Simulink-signals-with-FreeMASTER/m-p/1449328#M7224</guid>
      <dc:creator>swmurray</dc:creator>
      <dc:date>2022-04-26T16:05:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to read Simulink signals with FreeMASTER ?</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-to-read-Simulink-signals-with-FreeMASTER/m-p/1767441#M8688</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;how does it work with the latest Matlab version (R2023a)?&lt;/P&gt;&lt;P&gt;I guess the interface for a signal property has changed.&lt;/P&gt;&lt;P&gt;Could you please summarize all options we have for seeing any model signal in FreeMaster (for R2023a version)?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Petr&lt;/P&gt;</description>
      <pubDate>Fri, 01 Dec 2023 18:17:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-to-read-Simulink-signals-with-FreeMASTER/m-p/1767441#M8688</guid>
      <dc:creator>kadanik</dc:creator>
      <dc:date>2023-12-01T18:17:01Z</dc:date>
    </item>
  </channel>
</rss>

