<?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>Model-Based Design Toolbox (MBDT)のトピックS32K358 MBDT Referenced Model Build Failure</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K358-MBDT-Referenced-Model-Build-Failure/m-p/2390431#M10779</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am using MATLAB R2024b and NXP MBDT for S32K358.&lt;/P&gt;&lt;P&gt;I have a standalone NXP CAN communication model that builds, flashes, and runs correctly on hardware (10 Hz CAN Tx/Rx).&lt;/P&gt;&lt;P&gt;I also have a separate BMS algorithm model (Offline_Test) containing referenced models, state machines, estimators, and fault management logic.&lt;/P&gt;&lt;P&gt;When I integrate the BMS algorithm into the working NXP model and build, MBDT generates a separate configuration folder for a referenced model (BMS_Out_Config) and fails with:&lt;/P&gt;&lt;P&gt;fatal error: Mcl.h: No such file or directory&lt;BR /&gt;#include &amp;lt;Mcl.h&amp;gt;&lt;/P&gt;&lt;P&gt;The error comes from:&lt;/P&gt;&lt;P&gt;Controller/BMS_Out_Config/src/mbdt_board_init.c&lt;/P&gt;&lt;P&gt;while Mcl.h is not generated in:&lt;/P&gt;&lt;P&gt;Controller/BMS_Out_Config/RTD/include&lt;/P&gt;&lt;P&gt;My question is:&lt;/P&gt;&lt;P&gt;Should algorithm-only referenced models have their own hardware configuration/RTD generation?&lt;BR /&gt;Or should they inherit the top-level hardware model configuration?&lt;BR /&gt;Is there a recommended workflow for integrating large algorithmic referenced models into an existing S32K3 hardware project?&lt;/P&gt;&lt;P&gt;Screenshots of the working NXP model, the BMS algorithm model, and the build error are attached.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
    <pubDate>Fri, 03 Jul 2026 12:37:10 GMT</pubDate>
    <dc:creator>samansaki</dc:creator>
    <dc:date>2026-07-03T12:37:10Z</dc:date>
    <item>
      <title>S32K358 MBDT Referenced Model Build Failure</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K358-MBDT-Referenced-Model-Build-Failure/m-p/2390431#M10779</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am using MATLAB R2024b and NXP MBDT for S32K358.&lt;/P&gt;&lt;P&gt;I have a standalone NXP CAN communication model that builds, flashes, and runs correctly on hardware (10 Hz CAN Tx/Rx).&lt;/P&gt;&lt;P&gt;I also have a separate BMS algorithm model (Offline_Test) containing referenced models, state machines, estimators, and fault management logic.&lt;/P&gt;&lt;P&gt;When I integrate the BMS algorithm into the working NXP model and build, MBDT generates a separate configuration folder for a referenced model (BMS_Out_Config) and fails with:&lt;/P&gt;&lt;P&gt;fatal error: Mcl.h: No such file or directory&lt;BR /&gt;#include &amp;lt;Mcl.h&amp;gt;&lt;/P&gt;&lt;P&gt;The error comes from:&lt;/P&gt;&lt;P&gt;Controller/BMS_Out_Config/src/mbdt_board_init.c&lt;/P&gt;&lt;P&gt;while Mcl.h is not generated in:&lt;/P&gt;&lt;P&gt;Controller/BMS_Out_Config/RTD/include&lt;/P&gt;&lt;P&gt;My question is:&lt;/P&gt;&lt;P&gt;Should algorithm-only referenced models have their own hardware configuration/RTD generation?&lt;BR /&gt;Or should they inherit the top-level hardware model configuration?&lt;BR /&gt;Is there a recommended workflow for integrating large algorithmic referenced models into an existing S32K3 hardware project?&lt;/P&gt;&lt;P&gt;Screenshots of the working NXP model, the BMS algorithm model, and the build error are attached.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jul 2026 12:37:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K358-MBDT-Referenced-Model-Build-Failure/m-p/2390431#M10779</guid>
      <dc:creator>samansaki</dc:creator>
      <dc:date>2026-07-03T12:37:10Z</dc:date>
    </item>
  </channel>
</rss>

