<?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: S32K3 PMSM Model Build Error for MCSPTE1AK344 Kit in Model-Based Design Toolbox (MBDT)</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K3-PMSM-Model-Build-Error-for-MCSPTE1AK344-Kit/m-p/1796981#M8804</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;SPAN&gt;Magendran,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you for the attached log file and the details above, there are multiple errors above and let's&amp;nbsp;address them below:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;1.&amp;nbsp;&lt;STRONG&gt;error: Add-Ons/Toolboxes/NXP_MBDToolbox_S32K3xx/S32K3_Examples/mc/PMSM/mcat_src_files: No such file or directory&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;SPAN&gt;For this one I recommend&amp;nbsp;you install the latest&amp;nbsp;&lt;A href="https://nxp.flexnetoperations.com/control/frse/download?element=14146527" target="_blank" rel="nofollow noopener noreferrer"&gt;Model-Based Design Toolbox for S32K3xx version 1.4.0&lt;/A&gt;&amp;nbsp;to the following location:&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="stefanvlad_0-1706544263577.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/260551i3D9D51DE6612BF64/image-size/large?v=v2&amp;amp;px=999" role="button" title="stefanvlad_0-1706544263577.png" alt="stefanvlad_0-1706544263577.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;This should be the default location and you need to clean (delete) other folders like&amp;nbsp;&lt;STRONG&gt;C:\Users\Magendran\AppData\Roaming\MathWorks\MATLABAdd-Ons\Toolboxes\NXP_MBDToolbox_S32K3xx\&lt;/STRONG&gt; in order to have only one clean and good location, as in the picture above.&lt;/P&gt;
&lt;P&gt;2. Error:License Error: -1, Model-Based Design Toolbox License Missing.&lt;BR /&gt;&amp;nbsp; &amp;nbsp; No license file found in D:\MATLAB\MATLABAdd-Ons\Toolboxes\NXP_MBDToolbox_S32K3xx\lic.&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;In order to fix this error, you need to add the &lt;STRONG&gt;license.dat&lt;/STRONG&gt; file in the folder&amp;nbsp;&lt;STRONG&gt;C:\MathWorks\Toolboxes\NXP_MBDToolbox_S32K3xx\lic\&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;And the license you can get from NXP website under My NXP Account --&amp;gt;&amp;nbsp;&lt;A class="" style="background-color: #ffffff;" href="https://www.nxp.com/webapp/swlicensing/sso/dologin.sp" target="_blank"&gt;Software Licensing and Support&lt;/A&gt;&lt;SPAN&gt;--&amp;gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A class="card1-link" style="font-family: inherit; background-color: #ffffff;" href="https://www.nxp.com/webapp/swlicensing/urlRedirect.sp?nextURL=switchaccount" target="_self" data-dtmsubaction="View accounts"&gt;View accounts&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;3.&amp;nbsp;&amp;nbsp;error: 'GptConf_GptChannelConfiguration_GptChannelConfiguration_2' undeclared (first use in this function); did you mean 'GptConf_GptChannelConfiguration_GptChannelConfiguration_0'?&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;First, I do recommend setting the default path in Matlab, using the Set Path window --&amp;gt; Default --&amp;gt; Save --&amp;gt; Close:&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="stefanvlad_2-1706545468009.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/260555iA7D6F2F2F1AD2115/image-size/medium?v=v2&amp;amp;px=400" role="button" title="stefanvlad_2-1706545468009.png" alt="stefanvlad_2-1706545468009.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;Then navigate to&amp;nbsp;&lt;STRONG&gt;C:\MathWorks\Toolboxes\NXP_MBDToolbox_S32K3xx&lt;/STRONG&gt; and run the path script file&amp;nbsp;&lt;STRONG&gt;mbd_s32k3_path.m&lt;/STRONG&gt; in the Matlab location:&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="stefanvlad_1-1706545190555.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/260553i2DAD87937C1F07BC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="stefanvlad_1-1706545190555.png" alt="stefanvlad_1-1706545190555.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;The output should be as in the picture above, with no errors if all the above steps are followed.&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;Last step is to navigate to&amp;nbsp;&lt;STRONG&gt;C:\MathWorks\Toolboxes\NXP_MBDToolbox_S32K3xx\S32K3_Examples\mc\PMSM&lt;/STRONG&gt; and open the&amp;nbsp;s32k3xx_mc_pmsm.mdl&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps you to run the models with no issues,&lt;/P&gt;
&lt;P&gt;Stefan V.&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 29 Jan 2024 16:30:09 GMT</pubDate>
    <dc:creator>stefanvlad</dc:creator>
    <dc:date>2024-01-29T16:30:09Z</dc:date>
    <item>
      <title>S32K3 PMSM Model Build Error for MCSPTE1AK344 Kit</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K3-PMSM-Model-Build-Error-for-MCSPTE1AK344-Kit/m-p/1792970#M8782</link>
      <description>&lt;P&gt;Dear NXP,&lt;/P&gt;&lt;P class=""&gt;I get below error while implementing pmsm model file on MCSPTE1AK344 Kit. The error shows &lt;STRONG&gt;mcat_src_files are not there.&lt;/STRONG&gt;&lt;/P&gt;&lt;P class=""&gt;When I checked the Path the &lt;STRONG&gt;mcat_src_files &lt;/STRONG&gt;directory has files in it. &amp;nbsp;Please advise is there any path to be updated in tool. Thanks.&lt;/P&gt;&lt;P class=""&gt;Attached Build Error text file.&lt;/P&gt;&lt;P class=""&gt;Ons/Toolboxes/NXP_MBDToolbox_S32K3xx/S32K3_Examples/mc/PMSM/s32k3xx_mc_pmsm_Config/generate/src -o"Dio_Ipw.o" "C:/Users/Magendran/AppData/Roaming/MathWorks/MATLABAdd-Ons/Toolboxes/NXP_MBDToolbox_S32K3xx/S32K3_Examples/mc/PMSM/s32k3xx_mc_pmsm_Config/RTD/src/Dio_Ipw.c"&lt;/P&gt;&lt;P class=""&gt;&lt;STRONG&gt;arm-none-eabi-gcc: error: Add-Ons/Toolboxes/NXP_MBDToolbox_S32K3xx/S32K3_Examples/mc/PMSM/mcat_src_files: No such file or directory&lt;/STRONG&gt;&lt;/P&gt;&lt;P class=""&gt;arm-none-eabi-gcc -c -std=c99 -Os -fshort-enums -funsigned-char -fstack-usage -g -pedantic -Wall -Wextra -fmessage-length=0 -funsigned-bitfields -fno-common -Wunused -Wstrict-prototypes -Wsign-compare -Werror=implicit-function-declaration -mcpu=cortex-m7 -mthumb -mlittle-endian -mfloat-abi=hard -mfpu=fpv5-sp-d16 -DD_CACHE_ENABLE -DI_CACHE_ENABLE -specs=nano.specs -specs=nosys.specs --sysroot="C:\Users\Magendran\AppData\Roaming\MathWorks\MATLABAdd-Ons\Toolboxes\NXP_MBDToolbox_S32K3xx\tools\build_tools\gcc_v10.2\gcc-10.2-arm32-eabi\arm-none-eabi\newlib" -DSTEP_GPT_TIMER -DSTEP_GPT_CHANNEL=GptConf_GptChannelConfiguration_StepTimer -DSTEP_GPT_CHANNEL_FREQ=40000000 -DSTEP_GPT_CHANNEL_VALUE_MAX=4294967295 -DAUTOSAR_OS_NOT_USED -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DGCC -DS32K3XX -DS32K344 -DCPU_S32K344 -DENABLE_FPU -DMPU_ENABLE -DMBDT_INIT -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0&amp;nbsp; -DTID01EQ=0 -DSTACK_SIZE=128 -DRT -DMODEL=s32k3xx_mc_pmsm -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/Users/Magendran/AppData/Roaming/MathWorks/MATLABAdd-Ons/Toolboxes/NXP_MBDToolbox_S32K3xx -IC:/Users/Magendran/AppData/Roaming/MathWorks/MATLAB Add-Ons/Toolboxes/NXP_MBDToolbox_S32K3xx/S32K3_Examples/mc/PMSM/mcat_src_files -IC:/Users/Magendran/AppData/Roaming/MathWorks/MATLABAdd-Ons/Toolboxes/NXP_MBDToolbox_S32K3xx/s32k3xx_mc_pmsm_ert_rtw -IC:/Users/Magendran/AppData/Roaming/MathWorks/MATLABAdd-Ons/Toolboxes/NXP_MBDToolbox_S32K3xx/S32K3_Examples/mc/PMSM/mcat_src_files -IC:/PROGRA~1/MATLAB/R2023b/extern/include -IC:/PROGRA~1/MATLAB/R2023b/simulink/include -IC:/PROGRA~1/MATLAB/R2023b/rtw/c/src -IC:/PROGRA~1/MATLAB/R2023b/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2023b/rtw/c/ert -IC:/Users/Magendran/AppData/Roaming/MathWorks/MATLABAdd-Ons/Toolboxes/NXP_MBDToolbox_S32K3xx/S32K3_Examples/mc/PMSM/s32k3xx_mc_pmsm_Config/AMMCLIB -IC:/Users/Magendran/AppData/Roaming/MathWorks/MATLABAdd-Ons/Toolboxes/NXP_MBDToolbox_S32K3xx/S32K3_Examples/mc/PMSM/s32k3xx_mc_pmsm_Config/Project_Settings -IC:/Users/Magendran/AppData/Roaming/MathWorks/MATLABAdd-Ons/Toolboxes/NXP_MBDToolbox_S32K3xx/S32K3_Examples/mc/PMSM/s32k3xx_mc_pmsm_Config/RTD -IC:/Users/Magendran/AppData/Roaming/MathWorks/MATLABAdd-Ons/Toolboxes/NXP_MBDToolbox_S32K3xx/S32K3_Examples/mc/PMSM/s32k3xx_mc_pmsm_Config/board -IC:/Users/Magendran/AppData/Roaming/MathWorks/MATLABAdd-Ons/Toolboxes/NXP_MBDToolbox_S32K3xx/S32K3_Examples/mc/PMSM/s32k3xx_mc_pmsm_Config/generate -IC:/Users/Magendran/AppData/Roaming/MathWorks/MATLABAdd-Ons/Toolboxes/NXP_MBDToolbox_S32K3xx/S32K3_Examples/mc/PMSM/s32k3xx_mc_pmsm_Config/src -IC:/Users/Magendran/AppData/Roaming/MathWorks/MATLABAdd-Ons/Toolboxes/NXP_MBDToolbox_S32K3xx/S32K3_Examples/mc/PMSM/s32k3xx_mc_pmsm_Config/AMMCLIB/include -IC:/Users/Magendran/AppData/Roaming/MathWorks/MATLABAdd-Ons/Toolboxes/NXP_MBDToolbox_S32K3xx/S32K3_Examples/mc/PMSM/s32k3xx_mc_pmsm_Config/AMMCLIB/lib -IC:/Users/Magendran/AppData/Roaming/MathWorks/MATLABAdd-Ons/Toolboxes/NXP_MBDToolbox_S32K3xx/S32K3_Examples/mc/PMSM/s32k3xx_mc_pmsm_Config/Project_Settings/Debugger -IC:/Users/Magendran/AppData/Roaming/MathWorks/MATLABAdd-Ons/Toolboxes/NXP_MBDToolbox_S32K3xx/S32K3_Examples/mc/PMSM/s32k3xx_mc_pmsm_Config/Project_Settings/Linker_Files -IC:/Users/Magendran/AppData/Roaming/MathWorks/MATLABAdd-Ons/Toolboxes/NXP_MBDToolbox_S32K3xx/S32K3_Examples/mc/PMSM/s32k3xx_mc_pmsm_Config/Project_Settings/Startup_Code -IC:/Users/Magendran/AppData/Roaming/MathWorks/MATLABAdd-Ons/Toolboxes/NXP_MBDToolbox_S32K3xx/S32K3_Examples/mc/PMSM/s32k3xx_mc_pmsm_Config/RTD/include -IC:/Users/Magendran/AppData/Roaming/MathWorks/MATLABAdd-Ons/Toolboxes/NXP_MBDToolbox_S32K3xx/S32K3_Examples/mc/PMSM/s32k3xx_mc_pmsm_Config/RTD/src -IC:/Users/Magendran/AppData/Roaming/MathWorks/MATLABAdd-Ons/Toolboxes/NXP_MBDToolbox_S32K3xx/S32K3_Examples/mc/PMSM/s32k3xx_mc_pmsm_Config/generate/include -IC:/Users/Magendran/AppData/Roaming/MathWorks/MATLABAdd-Ons/Toolboxes/NXP_MBDToolbox_S32K3xx/S32K3_Examples/mc/PMSM/s32k3xx_mc_pmsm_Config/generate/src -o"Dma_Ip.o" "C:/Users/Magendran/AppData/Roaming/MathWorks/MATLABAdd-Ons/Toolboxes/NXP_MBDToolbox_S32K3xx/S32K3_Examples/mc/PMSM/s32k3xx_mc_pmsm_Config/RTD/src/Dma_Ip.c"&lt;/P&gt;&lt;P class=""&gt;&lt;STRONG&gt;arm-none-eabi-gcc: error: Add-Ons/Toolboxes/NXP_MBDToolbox_S32K3xx/S32K3_Examples/mc/PMSM/mcat_src_files: No such file or directory&lt;/STRONG&gt;&lt;/P&gt;&lt;P class=""&gt;gmake: *** [Adc_Params.o] Error 1&lt;/P&gt;&lt;P class=""&gt;gmake: *** Waiting for unfinished jobs....&lt;/P&gt;&lt;P class=""&gt;gmake: *** [PosMode.o] Error 1&lt;/P&gt;&lt;P class=""&gt;gmake: *** [PosMode1.o] Error 1&lt;/P&gt;&lt;P class=""&gt;gmake: *** [s32k3xx_mc_pmsm.o] Error 1&lt;/P&gt;&lt;P class=""&gt;gmake: *** [s32k3xx_mc_pmsm_data.o] Error 1&lt;/P&gt;&lt;P class=""&gt;gmake: *** [Siul2_Port_Ip_Cfg.o] Error 1&lt;/P&gt;&lt;P class=""&gt;gmake: *** [Tspc_Port_Ip_Cfg.o] Error 1&lt;/P&gt;&lt;P class=""&gt;gmake: *** [freemaster_appcmd.o] Error 1&lt;/P&gt;&lt;P class=""&gt;gmake: *** [freemaster_pipes.o] Error 1&lt;/P&gt;&lt;P class=""&gt;gmake: *** [freemaster_protocol.o] Error 1&lt;/P&gt;&lt;P class=""&gt;gmake: *** [freemaster_rec.o] Error 1&lt;/P&gt;&lt;P class=""&gt;gmake: *** [freemaster_s32k344_lpuart.o] Error 1&lt;/P&gt;&lt;P class=""&gt;gmake: *** [freemaster_scope.o] Error 1&lt;/P&gt;&lt;P class=""&gt;gmake: *** [freemaster_serial.o] Error 1&lt;/P&gt;&lt;P class=""&gt;gmake: *** [freemaster_tsa.o] Error 1&lt;/P&gt;&lt;P class=""&gt;gmake: *** [freemaster_ures.o] Error 1&lt;/P&gt;&lt;P class=""&gt;gmake: *** [freemaster_utils.o] Error 1&lt;/P&gt;&lt;P class=""&gt;gmake: *** [mbdt_board_init.o] Error 1&lt;/P&gt;&lt;P class=""&gt;gmake: *** [mbdt_lpuart.o] Error 1&lt;/P&gt;&lt;P class=""&gt;gmake: *** [s32k3_trigger_config.o] Error 1&lt;/P&gt;&lt;P class=""&gt;gmake: *** [exceptions.o] Error 1&lt;/P&gt;&lt;P class=""&gt;gmake: *** [nvic.o] Error 1&lt;/P&gt;&lt;P class=""&gt;gmake: *** [startup.o] Error 1&lt;/P&gt;&lt;P class=""&gt;gmake: *** [sys_init.o] Error 1&lt;/P&gt;&lt;P class=""&gt;gmake: *** [system.o] Error 1&lt;/P&gt;&lt;P class=""&gt;gmake: *** [Adc.o] Error 1&lt;/P&gt;&lt;P class=""&gt;gmake: *** [Adc_Ipw.o] Error 1&lt;/P&gt;&lt;P class=""&gt;gmake: *** [Adc_Ipw_Irq.o] Error 1&lt;/P&gt;&lt;P class=""&gt;gmake: *** [Adc_Sar_Ip.o] Error 1&lt;/P&gt;&lt;P class=""&gt;gmake: *** [Adc_Sar_Ip_Irq.o] Error 1&lt;/P&gt;&lt;P class=""&gt;gmake: *** [Bctu_Ip.o] Error 1&lt;/P&gt;&lt;P class=""&gt;gmake: *** [Bctu_Ip_Irq.o] Error 1&lt;/P&gt;&lt;P class=""&gt;gmake: *** [CDD_Mcl.o] Error 1&lt;/P&gt;&lt;P class=""&gt;gmake: *** [CDD_Mcl_Ipw.o] Error 1&lt;/P&gt;&lt;P class=""&gt;gmake: *** [CDD_Uart.o] Error 1&lt;/P&gt;&lt;P class=""&gt;gmake: *** [Cache_Ip.o] Error 1&lt;/P&gt;&lt;P class=""&gt;gmake: *** [Cache_Ip_HwAcc_ArmCoreMx.o] Error 1&lt;/P&gt;&lt;P class=""&gt;gmake: *** [Can_43_FLEXCAN.o] Error 1&lt;/P&gt;&lt;P class=""&gt;gmake: *** [Can_43_FLEXCAN_Ipw.o] Error 1&lt;/P&gt;&lt;P class=""&gt;gmake: *** [Can_43_FLEXCAN_Irq.o] Error 1&lt;/P&gt;&lt;P class=""&gt;gmake: *** [Clock_Ip.o] Error 1&lt;/P&gt;&lt;P class=""&gt;gmake: *** [Clock_Ip_Data.o] Error 1&lt;/P&gt;&lt;P class=""&gt;gmake: *** [Clock_Ip_Divider.o] Error 1&lt;/P&gt;&lt;P class=""&gt;gmake: *** [Clock_Ip_DividerTrigger.o] Error 1&lt;/P&gt;&lt;P class=""&gt;gmake: *** [Clock_Ip_ExtOsc.o] Error 1&lt;/P&gt;&lt;P class=""&gt;gmake: *** [Clock_Ip_FracDiv.o] Error 1&lt;/P&gt;&lt;P class=""&gt;gmake: *** [Clock_Ip_Frequency.o] Error 1&lt;/P&gt;&lt;P class=""&gt;gmake: *** [Clock_Ip_Gate.o] Error 1&lt;/P&gt;&lt;P class=""&gt;gmake: *** [Clock_Ip_IntOsc.o] Error 1&lt;/P&gt;&lt;P class=""&gt;gmake: *** [Clock_Ip_Irq.o] Error 1&lt;/P&gt;&lt;P class=""&gt;gmake: *** [Clock_Ip_Monitor.o] Error 1&lt;/P&gt;&lt;P class=""&gt;gmake: *** [Clock_Ip_Pll.o] Error 1&lt;/P&gt;&lt;P class=""&gt;gmake: *** [Clock_Ip_ProgFreqSwitch.o] Error 1&lt;/P&gt;&lt;P class=""&gt;gmake: *** [Clock_Ip_Selector.o] Error 1&lt;/P&gt;&lt;P class=""&gt;gmake: *** [Clock_Ip_Specific.o] Error 1&lt;/P&gt;&lt;P class=""&gt;gmake: *** [Cmp_Ip.o] Error 1&lt;/P&gt;&lt;P class=""&gt;gmake: *** [DSPSS_Api.o] Error 1&lt;/P&gt;&lt;P class=""&gt;gmake: *** [Det.o] Error 1&lt;/P&gt;&lt;P class=""&gt;gmake: *** [Det_stub.o] Error 1&lt;/P&gt;&lt;P class=""&gt;gmake: *** [Dio.o] Error 1&lt;/P&gt;&lt;P class=""&gt;gmake: *** [Dio_Ipw.o] Error 1&lt;/P&gt;&lt;P class=""&gt;gmake: *** [Dma_Ip.o] Error 1&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&lt;STRONG&gt;C:\Users\Magendran\AppData\Roaming\MathWorks\MATLABAdd-Ons\Toolboxes\NXP_MBDToolbox_S32K3xx\s32k3xx_mc_pmsm_ert_rtw&amp;gt;echo The make command returned an error of 2&lt;/STRONG&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;STRONG&gt;The make command returned an error of 2&lt;/STRONG&gt;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;C:\Users\Magendran\AppData\Roaming\MathWorks\MATLABAdd-Ons\Toolboxes\NXP_MBDToolbox_S32K3xx\s32k3xx_mc_pmsm_ert_rtw&amp;gt;exit /B 1&lt;/P&gt;&lt;P class=""&gt;### Build procedure for s32k3xx_mc_pmsm aborted due to an error.&lt;/P&gt;&lt;P class=""&gt;Build Summary&lt;/P&gt;&lt;P class=""&gt;Top model targets built:&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;Model&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Action&amp;nbsp; Rebuild Reason&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;===========================================================================&lt;/P&gt;&lt;P class=""&gt;s32k3xx_mc_pmsm&amp;nbsp; Failed&amp;nbsp; Code generation information file does not exist.&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;0 of 1 models built (0 models already up to date)&lt;/P&gt;&lt;P class=""&gt;Build duration: 0h 0m 53.175s&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jan 2024 12:03:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K3-PMSM-Model-Build-Error-for-MCSPTE1AK344-Kit/m-p/1792970#M8782</guid>
      <dc:creator>Magendran</dc:creator>
      <dc:date>2024-01-22T12:03:18Z</dc:date>
    </item>
    <item>
      <title>Re: S32K3 PMSM Model Build Error for MCSPTE1AK344 Kit</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K3-PMSM-Model-Build-Error-for-MCSPTE1AK344-Kit/m-p/1794331#M8788</link>
      <description>&lt;P&gt;Hi NXP team,&lt;/P&gt;&lt;P&gt;I have changed the path of ADD-ONS and compiled still i get attached Error.&amp;nbsp; i am able to compile and download DIO and UART example successfully but not PMSM model file. Please advise.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jan 2024 05:04:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K3-PMSM-Model-Build-Error-for-MCSPTE1AK344-Kit/m-p/1794331#M8788</guid>
      <dc:creator>Magendran</dc:creator>
      <dc:date>2024-01-24T05:04:13Z</dc:date>
    </item>
    <item>
      <title>Re: S32K3 PMSM Model Build Error for MCSPTE1AK344 Kit</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K3-PMSM-Model-Build-Error-for-MCSPTE1AK344-Kit/m-p/1796981#M8804</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;SPAN&gt;Magendran,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you for the attached log file and the details above, there are multiple errors above and let's&amp;nbsp;address them below:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;1.&amp;nbsp;&lt;STRONG&gt;error: Add-Ons/Toolboxes/NXP_MBDToolbox_S32K3xx/S32K3_Examples/mc/PMSM/mcat_src_files: No such file or directory&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;SPAN&gt;For this one I recommend&amp;nbsp;you install the latest&amp;nbsp;&lt;A href="https://nxp.flexnetoperations.com/control/frse/download?element=14146527" target="_blank" rel="nofollow noopener noreferrer"&gt;Model-Based Design Toolbox for S32K3xx version 1.4.0&lt;/A&gt;&amp;nbsp;to the following location:&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="stefanvlad_0-1706544263577.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/260551i3D9D51DE6612BF64/image-size/large?v=v2&amp;amp;px=999" role="button" title="stefanvlad_0-1706544263577.png" alt="stefanvlad_0-1706544263577.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;This should be the default location and you need to clean (delete) other folders like&amp;nbsp;&lt;STRONG&gt;C:\Users\Magendran\AppData\Roaming\MathWorks\MATLABAdd-Ons\Toolboxes\NXP_MBDToolbox_S32K3xx\&lt;/STRONG&gt; in order to have only one clean and good location, as in the picture above.&lt;/P&gt;
&lt;P&gt;2. Error:License Error: -1, Model-Based Design Toolbox License Missing.&lt;BR /&gt;&amp;nbsp; &amp;nbsp; No license file found in D:\MATLAB\MATLABAdd-Ons\Toolboxes\NXP_MBDToolbox_S32K3xx\lic.&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;In order to fix this error, you need to add the &lt;STRONG&gt;license.dat&lt;/STRONG&gt; file in the folder&amp;nbsp;&lt;STRONG&gt;C:\MathWorks\Toolboxes\NXP_MBDToolbox_S32K3xx\lic\&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;And the license you can get from NXP website under My NXP Account --&amp;gt;&amp;nbsp;&lt;A class="" style="background-color: #ffffff;" href="https://www.nxp.com/webapp/swlicensing/sso/dologin.sp" target="_blank"&gt;Software Licensing and Support&lt;/A&gt;&lt;SPAN&gt;--&amp;gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A class="card1-link" style="font-family: inherit; background-color: #ffffff;" href="https://www.nxp.com/webapp/swlicensing/urlRedirect.sp?nextURL=switchaccount" target="_self" data-dtmsubaction="View accounts"&gt;View accounts&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;3.&amp;nbsp;&amp;nbsp;error: 'GptConf_GptChannelConfiguration_GptChannelConfiguration_2' undeclared (first use in this function); did you mean 'GptConf_GptChannelConfiguration_GptChannelConfiguration_0'?&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;First, I do recommend setting the default path in Matlab, using the Set Path window --&amp;gt; Default --&amp;gt; Save --&amp;gt; Close:&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="stefanvlad_2-1706545468009.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/260555iA7D6F2F2F1AD2115/image-size/medium?v=v2&amp;amp;px=400" role="button" title="stefanvlad_2-1706545468009.png" alt="stefanvlad_2-1706545468009.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;Then navigate to&amp;nbsp;&lt;STRONG&gt;C:\MathWorks\Toolboxes\NXP_MBDToolbox_S32K3xx&lt;/STRONG&gt; and run the path script file&amp;nbsp;&lt;STRONG&gt;mbd_s32k3_path.m&lt;/STRONG&gt; in the Matlab location:&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="stefanvlad_1-1706545190555.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/260553i2DAD87937C1F07BC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="stefanvlad_1-1706545190555.png" alt="stefanvlad_1-1706545190555.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;The output should be as in the picture above, with no errors if all the above steps are followed.&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;Last step is to navigate to&amp;nbsp;&lt;STRONG&gt;C:\MathWorks\Toolboxes\NXP_MBDToolbox_S32K3xx\S32K3_Examples\mc\PMSM&lt;/STRONG&gt; and open the&amp;nbsp;s32k3xx_mc_pmsm.mdl&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps you to run the models with no issues,&lt;/P&gt;
&lt;P&gt;Stefan V.&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jan 2024 16:30:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K3-PMSM-Model-Build-Error-for-MCSPTE1AK344-Kit/m-p/1796981#M8804</guid>
      <dc:creator>stefanvlad</dc:creator>
      <dc:date>2024-01-29T16:30:09Z</dc:date>
    </item>
    <item>
      <title>Re: S32K3 PMSM Model Build Error for MCSPTE1AK344 Kit</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K3-PMSM-Model-Build-Error-for-MCSPTE1AK344-Kit/m-p/1797749#M8806</link>
      <description>&lt;P&gt;Hi Stefan,&lt;/P&gt;&lt;P&gt;I installed matlab Add-ons in &lt;LI-EMOJI id="lia_anguished-face" title=":anguished_face:"&gt;&lt;/LI-EMOJI&gt; drive, license file in LIC folder ,set the mbd_s32k3_Path and it was successful. still i am getting&amp;nbsp;&lt;SPAN&gt;error: 'GptConf_GptChannelConfiguration_GptChannelConfiguration_2' undeclared (first use in this function); did you mean 'GptConf_GptChannelConfiguration_GptChannelConfiguration_0'?.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Attached error file. Please advise. Thanks.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2024 11:08:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K3-PMSM-Model-Build-Error-for-MCSPTE1AK344-Kit/m-p/1797749#M8806</guid>
      <dc:creator>Magendran</dc:creator>
      <dc:date>2024-01-30T11:08:46Z</dc:date>
    </item>
    <item>
      <title>Re: S32K3 PMSM Model Build Error for MCSPTE1AK344 Kit</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K3-PMSM-Model-Build-Error-for-MCSPTE1AK344-Kit/m-p/1797785#M8808</link>
      <description>&lt;P&gt;Hi Magendran,&lt;BR /&gt;&lt;BR /&gt;I see the attached file the same path as the old path in the posts above, D:\MATLAB\MATLABAdd-Ons\Toolboxes\NXP_MBDToolbox_S32K3xx\S32K3_Examples\mc\PMSM\&lt;/P&gt;
&lt;P&gt;Have you followed the steps I presented in the previous post?&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;The install path should be as short as possible, for example: C:\MathWorks\Toolboxes\NXP_MBDToolbox_S32K3xx\ this is what it is recommended.&lt;BR /&gt;Also, when you run the PMSM example your Matlab folder needs to be: C:\MathWorks\Toolboxes\NXP_MBDToolbox_S32K3xx\S32K3_Examples\mc\PMSM\&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="stefanvlad_0-1706617022387.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/260824i1FEF86C8C0B6B9D0/image-size/large?v=v2&amp;amp;px=999" role="button" title="stefanvlad_0-1706617022387.png" alt="stefanvlad_0-1706617022387.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Before doing the build process again, please clean up the PMSM folder, keep only the following folders and files:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="stefanvlad_1-1706617211888.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/260825i82059559960EBB49/image-size/medium?v=v2&amp;amp;px=400" role="button" title="stefanvlad_1-1706617211888.png" alt="stefanvlad_1-1706617211888.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I have attached here the PMSM folder from my PC,&lt;/P&gt;
&lt;P&gt;Hope this helps.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2024 13:22:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K3-PMSM-Model-Build-Error-for-MCSPTE1AK344-Kit/m-p/1797785#M8808</guid>
      <dc:creator>stefanvlad</dc:creator>
      <dc:date>2024-01-30T13:22:46Z</dc:date>
    </item>
    <item>
      <title>Re: S32K3 PMSM Model Build Error for MCSPTE1AK344 Kit</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K3-PMSM-Model-Build-Error-for-MCSPTE1AK344-Kit/m-p/1798428#M8814</link>
      <description>&lt;P&gt;Hi Stefan,&lt;/P&gt;&lt;P&gt;Thanks for sending your PMSM folder.&lt;/P&gt;&lt;P&gt;I have changed the path of MATLAB ADD-ons as per your suggestion.&lt;/P&gt;&lt;P&gt;while buiding and deploying the project i get following error.&lt;/P&gt;&lt;P&gt;Error: File: C:\mathworks\Toolboxes\NXP_MBDToolbox_S32K3xx\mbdtbx_s32k3\+mbd_s32k3\+common\blocks\fm\fm_config.tlc Line: 64 Column: 7&lt;/P&gt;&lt;P&gt;Attached log file FYR. Please advise. Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jan 2024 07:40:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K3-PMSM-Model-Build-Error-for-MCSPTE1AK344-Kit/m-p/1798428#M8814</guid>
      <dc:creator>Magendran</dc:creator>
      <dc:date>2024-01-31T07:40:00Z</dc:date>
    </item>
    <item>
      <title>Re: S32K3 PMSM Model Build Error for MCSPTE1AK344 Kit</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K3-PMSM-Model-Build-Error-for-MCSPTE1AK344-Kit/m-p/1800122#M8820</link>
      <description>&lt;P&gt;Hello Magendran,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have looked into the attached log and tried to replicate the error with fm_config.tlc, but in my case it does not reproduce, instead I have moved the PMSM folder to another location C:\Users\nxf86664\Downloads\PMSM (1)\PMSM and it builds and flashed successfully:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="stefanvlad_0-1706804660086.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/261431iED55B79277CE46C4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="stefanvlad_0-1706804660086.png" alt="stefanvlad_0-1706804660086.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I recommend you install the following Add-ons:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="stefanvlad_1-1706805006828.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/261432i4B5E3926C10A9C1B/image-size/large?v=v2&amp;amp;px=999" role="button" title="stefanvlad_1-1706805006828.png" alt="stefanvlad_1-1706805006828.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;and the following path is set on my PC:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="stefanvlad_2-1706805230586.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/261434iC84B32CFAFDBE4A3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="stefanvlad_2-1706805230586.png" alt="stefanvlad_2-1706805230586.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Once again check you have similar paths and Add-on on you PC, they are required in order to successfully build the project.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Stefan V.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Feb 2024 16:35:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K3-PMSM-Model-Build-Error-for-MCSPTE1AK344-Kit/m-p/1800122#M8820</guid>
      <dc:creator>stefanvlad</dc:creator>
      <dc:date>2024-02-01T16:35:28Z</dc:date>
    </item>
    <item>
      <title>Re: S32K3 PMSM Model Build Error for MCSPTE1AK344 Kit</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K3-PMSM-Model-Build-Error-for-MCSPTE1AK344-Kit/m-p/1800600#M8821</link>
      <description>&lt;P&gt;Hi Stefan,&lt;/P&gt;&lt;P&gt;I have&amp;nbsp;&lt;SPAN&gt;checked path setup and Add-on on my PC and the packages you had mentioned in Add-on and i have everything similar as per your recommendation. I still get same error. I have MATLAB 2023b version.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Please advise. Thanks.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Feb 2024 07:23:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K3-PMSM-Model-Build-Error-for-MCSPTE1AK344-Kit/m-p/1800600#M8821</guid>
      <dc:creator>Magendran</dc:creator>
      <dc:date>2024-02-02T07:23:24Z</dc:date>
    </item>
    <item>
      <title>Re: S32K3 PMSM Model Build Error for MCSPTE1AK344 Kit</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K3-PMSM-Model-Build-Error-for-MCSPTE1AK344-Kit/m-p/1800950#M8824</link>
      <description>&lt;P&gt;Hi Magendran,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have tested and retested using Matlab&lt;STRONG&gt; R2023b Update 6&lt;/STRONG&gt; with the following Add-ons installed:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="stefanvlad_0-1706885577713.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/261672iF7EA8FEF9D87C1D6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="stefanvlad_0-1706885577713.png" alt="stefanvlad_0-1706885577713.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;And reinstalled the MBDToolbox_S32K3xx v1.4.0 and it builds successfully each time, no issues.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I recommend you start fresh, to summarize the steps:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Open Matlab R2023b Update 6 and Manage Add-ons&lt;/LI&gt;
&lt;LI&gt;Uninstall the current &lt;STRONG&gt;NXP_MBDToolbox_S32K3xx v1.4.0&lt;/STRONG&gt;&lt;/LI&gt;
&lt;LI&gt;Close Add-ons Manager&lt;/LI&gt;
&lt;LI&gt;Open Matlab &lt;STRONG&gt;Set Path -&amp;gt; Default -&amp;gt; Save -&amp;gt;Close&lt;/STRONG&gt; and then exit Matlab.&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;Delete local folder&amp;nbsp;C:\MathWorks\Toolboxes\NXP_MBDToolbox_S32K3xx&lt;/LI&gt;
&lt;LI&gt;Check if you have any other location on your PC that has a folder C:\.... or &lt;STRONG&gt;D:\.......\Toolboxes\NXP_MBDToolbox_S32K3xx&lt;/STRONG&gt;&lt;/LI&gt;
&lt;LI&gt;Delete any NXP_MBDToolbox_S32K3xx folders if they exist.&lt;/LI&gt;
&lt;LI&gt;Download the latest&amp;nbsp;&lt;STRONG&gt;NXP_MBDToolbox_S32K3xx_1.4.0_20230529.mltbx&lt;/STRONG&gt;&lt;/LI&gt;
&lt;LI&gt;Open Matlab R2023b and to go downloads and install the above add-on.&lt;/LI&gt;
&lt;LI&gt;Copy the license.dat in the folder&amp;nbsp;D:\MathWorks\Toolboxes\NXP_MBDToolbox_S32K3xx\lic&lt;/LI&gt;
&lt;LI&gt;Change Matlab folder to&amp;nbsp;D:\MathWorks\Toolboxes\NXP_MBDToolbox_S32K3xx\S32K3_Examples\mc\PMSM&lt;/LI&gt;
&lt;LI&gt;Open the&amp;nbsp;&lt;STRONG&gt;s32k3xx_mc_pmsm.mdl&lt;/STRONG&gt; and build it.&lt;/LI&gt;
&lt;LI&gt;If all the steps are ok, then the result should be successfully: ￼&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="stefanvlad_2-1706886384185.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/261677iEC0FCE7D444251C6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="stefanvlad_2-1706886384185.png" alt="stefanvlad_2-1706886384185.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;In your case Matlab is installed to D:\, that is why the above paths are using D drive.&lt;/P&gt;
&lt;P&gt;It is important you follow the steps above carefully and hope this can help,&lt;/P&gt;
&lt;P&gt;Stefan V.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Feb 2024 15:14:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K3-PMSM-Model-Build-Error-for-MCSPTE1AK344-Kit/m-p/1800950#M8824</guid>
      <dc:creator>stefanvlad</dc:creator>
      <dc:date>2024-02-02T15:14:35Z</dc:date>
    </item>
    <item>
      <title>Re: S32K3 PMSM Model Build Error for MCSPTE1AK344 Kit</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K3-PMSM-Model-Build-Error-for-MCSPTE1AK344-Kit/m-p/1814588#M8870</link>
      <description>&lt;P&gt;Hi Stefan,&lt;/P&gt;&lt;P&gt;I am able to download the model file on the S32K3 board but green LED is not on. Please let me know any steps i need to enable. Thanks.&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Magendran&lt;/P&gt;</description>
      <pubDate>Fri, 23 Feb 2024 10:47:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K3-PMSM-Model-Build-Error-for-MCSPTE1AK344-Kit/m-p/1814588#M8870</guid>
      <dc:creator>Magendran</dc:creator>
      <dc:date>2024-02-23T10:47:15Z</dc:date>
    </item>
    <item>
      <title>Re: S32K3 PMSM Model Build Error for MCSPTE1AK344 Kit</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K3-PMSM-Model-Build-Error-for-MCSPTE1AK344-Kit/m-p/1863283#M9074</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/227574"&gt;@Magendran&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you please specify what S32K3x4EVB board are you using? Is it the Q172 or the T172?&lt;/P&gt;
&lt;P&gt;The PMSM model attached on the previous post was tested on the S32K3x4-Q172 with SCH-51972 RevA board.&lt;/P&gt;
&lt;P&gt;Mode details on the boards are in&amp;nbsp;&lt;A href="https://www.nxp.com/document/guide/get-started-with-the-mcspte1ak344-development-kit:GS-MCSPTE1AK344" target="_blank"&gt;Get Started with the MCSPTE1AK344 Development Kit | NXP Semiconductors&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, if the model is successfully built and programmed to the board, can you open FreeMaster and connect to the board to see the variables?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Pushing the User buttons on the board, does it start the motor?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Stefan V.&lt;/P&gt;</description>
      <pubDate>Fri, 10 May 2024 08:43:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K3-PMSM-Model-Build-Error-for-MCSPTE1AK344-Kit/m-p/1863283#M9074</guid>
      <dc:creator>stefanvlad</dc:creator>
      <dc:date>2024-05-10T08:43:09Z</dc:date>
    </item>
    <item>
      <title>Re: S32K3 PMSM Model Build Error for MCSPTE1AK344 Kit</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K3-PMSM-Model-Build-Error-for-MCSPTE1AK344-Kit/m-p/1936758#M9381</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hello&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.nxp.com/t5/user/viewprofilepage/user-id/227574" target="_blank"&gt;@Magendran&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;, We are seeing exact same issue! After programming the board, The user LED stays OFF and pushing the LED won't spin the motor. Instead, D3 red LED goes on every time we push the user LED. Also the Freemaster won't work either! Can you plz let us know if you solved the problem? If so, how ?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2024 22:45:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K3-PMSM-Model-Build-Error-for-MCSPTE1AK344-Kit/m-p/1936758#M9381</guid>
      <dc:creator>Eduardo2000</dc:creator>
      <dc:date>2024-08-20T22:45:05Z</dc:date>
    </item>
  </channel>
</rss>

