<?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 Trouble Building Simulink Blink-Example for S32K144 EVB in Model-Based Design Toolbox (MBDT)</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Trouble-Building-Simulink-Blink-Example-for-S32K144-EVB/m-p/1725848#M8527</link>
    <description>&lt;P&gt;Dear Community,&lt;/P&gt;&lt;P&gt;I am trying to get started with model-based development for the NXP board.&lt;/P&gt;&lt;P&gt;I am using:&lt;/P&gt;&lt;P&gt;- MATLAB / Simulink 2023a (Simulink Coder, Embedded Coder, Matlab Coder are installed)&lt;/P&gt;&lt;P&gt;- NXP S32K144 Q100 EVB purchased this year, probably a rev C&lt;/P&gt;&lt;P&gt;- I also installed S32 Design studio to get the PEMicro drivers&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I did:&lt;/P&gt;&lt;P&gt;- I (re-) installed the NXP MBDT v4.3 and the NXP Hardware Support Package S32K1xx as described &lt;A href="https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Module-1-Environment-Setup/td-p/734725" target="_blank" rel="noopener"&gt;here&lt;/A&gt;&lt;/P&gt;&lt;P&gt;- I tried to follow the further steps in the &lt;A href="https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Module-1-Environment-Setup/td-p/734725" target="_self"&gt;environment setup&lt;/A&gt;&amp;nbsp;and also the licensing seems to have worked well&lt;/P&gt;&lt;P&gt;- I tried to implement the LED-blink example from the &lt;A href="https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K1xx-Videos/m-p/719838" target="_blank" rel="noopener"&gt;HW/SW validation&lt;/A&gt; video&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I get:&lt;/P&gt;&lt;P&gt;When I simply want to 'build, deploy and start', the build-process seems to work - but it does not create an executable file:&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Error:Unable to start target application C:\Users\xxxx\17_MATLAB\03_NXP_MBDT_Test\Blink.exe. It does not exist.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;When I just 'compile', the C-compilation seems to throw an error somewhere when using gmake:&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;### Using toolchain: LCC-win64 v2.4.1 | gmake (64-bit Windows)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;### Creating 'C:\Users\xxxxxx\xxxxxx\17_MATLAB\03_NXP_MBDT_Test\Blink_mbd_rtw\Blink.mk' ...&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;### Building 'Blink': "C:\PROGRA~1\MATLAB\R2023a\bin\win64\gmake" COPY_MDLREF_INCLUDES=0 -f Blink.mk all&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;C:\Users\xxxxxx\xxxxxx\17_MATLAB\03_NXP_MBDT_Test\Blink_mbd_rtw &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;amp;gt; set MATLAB=C:\Program Files\MATLAB\R2023a &lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;C:\Users\xxxxxx\xxxxxx\17_MATLAB\03_NXP_MBDT_Test\Blink_mbd_rtw &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;amp;gt; cd . &lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;C:\Users\xxxxxx\xxxxxx\17_MATLAB\03_NXP_MBDT_Test\Blink_mbd_rtw &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;amp;gt; if "all" == "" ("C:\PROGRA~1\MATLAB\R2023a\bin\win64\gmake" COPY_MDLREF_INCLUDES=0 -f Blink.mk all ) else ("C:\PROGRA~1\MATLAB\R2023a\bin\win64\gmake" COPY_MDLREF_INCLUDES=0 -f Blink.mk all )&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;"C:/PROGRA~1/MATLAB/R2023a/sys/lcc64/lcc64/bin/lcc64" -c -w -noregistrylookup -nodeclspec -IC:/PROGRA~1/MATLAB/R2023a/sys/lcc64/lcc64/include64 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DTID01EQ=0 -DMODEL=Blink -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/Users/xxxxxx/ONEDRI~2/17_MAT~1/03_NXP~1 -IC:/Users/xxxxxx/ONEDRI~2/17_MAT~1/03_NXP~1/Blink_mbd_rtw -IC:/PROGRA~1/MATLAB/R2023a/extern/include -IC:/PROGRA~1/MATLAB/R2023a/simulink/include -IC:/PROGRA~1/MATLAB/R2023a/rtw/c/src -IC:/PROGRA~1/MATLAB/R2023a/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2023a/rtw/c/ert -Fo"Blink.obj" "C:\Users\xxxxxx\ONEDRI~2\17_MAT~1\03_NXP~1\Blink_mbd_rtw\Blink.c"&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;cpp: c:\users\xxxxxx\onedri~2\17_mat~1\03_nxp~1\blink_mbd_rtw\blink.h:21 c:\users\xxxxxx\onedri~2\17_mat~1\03_nxp~1\blink_mbd_rtw\blink.c:16 Could not find include file "pcc_hw_access.h"&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;cpp: c:\users\xxxxxx\onedri~2\17_mat~1\03_nxp~1\blink_mbd_rtw\blink.h:22 c:\users\xxxxxx\onedri~2\17_mat~1\03_nxp~1\blink_mbd_rtw\blink.c:16 Could not find include file "pins_driver.h"&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Error c:\users\xxxxxx\onedri~2\17_mat~1\03_nxp~1\blink_mbd_rtw\blink.c: 37 undeclared identifier 'PTC'&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Error c:\users\xxxxxx\onedri~2\17_mat~1\03_nxp~1\blink_mbd_rtw\blink.c: 48 undeclared identifier 'PTD'&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Error c:\users\xxxxxx\onedri~2\17_mat~1\03_nxp~1\blink_mbd_rtw\blink.c: 50 undeclared identifier 'PTD'&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Error c:\users\xxxxxx\onedri~2\17_mat~1\03_nxp~1\blink_mbd_rtw\blink.c: 62 undeclared identifier 'PCC'&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Error c:\users\xxxxxx\onedri~2\17_mat~1\03_nxp~1\blink_mbd_rtw\blink.c: 62 undeclared identifier 'PCC_PORTC_CLOCK'&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Error c:\users\xxxxxx\onedri~2\17_mat~1\03_nxp~1\blink_mbd_rtw\blink.c: 65 Syntax error; missing semicolon before `gpioPORTCPin12'&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Error c:\users\xxxxxx\onedri~2\17_mat~1\03_nxp~1\blink_mbd_rtw\blink.c: 65 undeclared identifier 'gpioPORTCPin12'&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Error c:\users\xxxxxx\onedri~2\17_mat~1\03_nxp~1\blink_mbd_rtw\blink.c: 65 illegal expression&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Error c:\users\xxxxxx\onedri~2\17_mat~1\03_nxp~1\blink_mbd_rtw\blink.c: 66 left operand of . has incompatible type 'int'&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Error c:\users\xxxxxx\onedri~2\17_mat~1\03_nxp~1\blink_mbd_rtw\blink.c: 66 undeclared identifier 'PORTC'&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Error c:\users\xxxxxx\onedri~2\17_mat~1\03_nxp~1\blink_mbd_rtw\blink.c: 66 the left hand side of the assignment can't be assigned to&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Error c:\users\xxxxxx\onedri~2\17_mat~1\03_nxp~1\blink_mbd_rtw\blink.c: 67 illegal expression&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Error c:\users\xxxxxx\onedri~2\17_mat~1\03_nxp~1\blink_mbd_rtw\blink.c: 67 Syntax error; missing semicolon before `pinPortIdx'&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Error c:\users\xxxxxx\onedri~2\17_mat~1\03_nxp~1\blink_mbd_rtw\blink.c: 67 undeclared identifier 'pinPortIdx'&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Error c:\users\xxxxxx\onedri~2\17_mat~1\03_nxp~1\blink_mbd_rtw\blink.c: 68 illegal expression&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Error c:\users\xxxxxx\onedri~2\17_mat~1\03_nxp~1\blink_mbd_rtw\blink.c: 68 Syntax error; missing semicolon before `pullConfig'&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Error c:\users\xxxxxx\onedri~2\17_mat~1\03_nxp~1\blink_mbd_rtw\blink.c: 68 undeclared identifier 'pullConfig'&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Error c:\users\xxxxxx\onedri~2\17_mat~1\03_nxp~1\blink_mbd_rtw\blink.c: 68 undeclared identifier 'PORT_INTERNAL_PULL_NOT_ENABLED'&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Error c:\users\xxxxxx\onedri~2\17_mat~1\03_nxp~1\blink_mbd_rtw\blink.c: 69 illegal expression&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Error c:\users\xxxxxx\onedri~2\17_mat~1\03_nxp~1\blink_mbd_rtw\blink.c: 69 Syntax error; missing semicolon before `passiveFilter'&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Error c:\users\xxxxxx\onedri~2\17_mat~1\03_nxp~1\blink_mbd_rtw\blink.c: 69 too many errors&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;gmake: *** [Blink.obj] Error 1&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;C:\Users\xxxxxx\xxxxxx\17_MATLAB\03_NXP_MBDT_Test\Blink_mbd_rtw&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;amp;gt; echo The make command returned an error of 2&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;The make command returned an error of 2&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;C:\Users\xxxxxx\xxxxxx\17_MATLAB\03_NXP_MBDT_Test\Blink_mbd_rtw&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;amp;gt; exit /B 1&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;### Build procedure for Blink aborted due to an error.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I am unsure about:&lt;/P&gt;&lt;P&gt;The interface in Simulink has changed quite a lot since the video where I drew the example from. I am actually unsure, if I am using the correct tool to build. The only 'build'-button I find is in the tab 'hardware' (I think from Simulink Coder?). There I configured the system target file description as 'mbd_s32k.tlc' and the device as NXP / CortexM4.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would be rather sure, there is something wrong with my setup, but what am I missing?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you and best regards,&lt;/P&gt;&lt;P&gt;Alexander&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 20 Sep 2023 02:44:55 GMT</pubDate>
    <dc:creator>aheike</dc:creator>
    <dc:date>2023-09-20T02:44:55Z</dc:date>
    <item>
      <title>Trouble Building Simulink Blink-Example for S32K144 EVB</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Trouble-Building-Simulink-Blink-Example-for-S32K144-EVB/m-p/1725848#M8527</link>
      <description>&lt;P&gt;Dear Community,&lt;/P&gt;&lt;P&gt;I am trying to get started with model-based development for the NXP board.&lt;/P&gt;&lt;P&gt;I am using:&lt;/P&gt;&lt;P&gt;- MATLAB / Simulink 2023a (Simulink Coder, Embedded Coder, Matlab Coder are installed)&lt;/P&gt;&lt;P&gt;- NXP S32K144 Q100 EVB purchased this year, probably a rev C&lt;/P&gt;&lt;P&gt;- I also installed S32 Design studio to get the PEMicro drivers&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I did:&lt;/P&gt;&lt;P&gt;- I (re-) installed the NXP MBDT v4.3 and the NXP Hardware Support Package S32K1xx as described &lt;A href="https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Module-1-Environment-Setup/td-p/734725" target="_blank" rel="noopener"&gt;here&lt;/A&gt;&lt;/P&gt;&lt;P&gt;- I tried to follow the further steps in the &lt;A href="https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Module-1-Environment-Setup/td-p/734725" target="_self"&gt;environment setup&lt;/A&gt;&amp;nbsp;and also the licensing seems to have worked well&lt;/P&gt;&lt;P&gt;- I tried to implement the LED-blink example from the &lt;A href="https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K1xx-Videos/m-p/719838" target="_blank" rel="noopener"&gt;HW/SW validation&lt;/A&gt; video&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I get:&lt;/P&gt;&lt;P&gt;When I simply want to 'build, deploy and start', the build-process seems to work - but it does not create an executable file:&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Error:Unable to start target application C:\Users\xxxx\17_MATLAB\03_NXP_MBDT_Test\Blink.exe. It does not exist.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;When I just 'compile', the C-compilation seems to throw an error somewhere when using gmake:&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;### Using toolchain: LCC-win64 v2.4.1 | gmake (64-bit Windows)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;### Creating 'C:\Users\xxxxxx\xxxxxx\17_MATLAB\03_NXP_MBDT_Test\Blink_mbd_rtw\Blink.mk' ...&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;### Building 'Blink': "C:\PROGRA~1\MATLAB\R2023a\bin\win64\gmake" COPY_MDLREF_INCLUDES=0 -f Blink.mk all&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;C:\Users\xxxxxx\xxxxxx\17_MATLAB\03_NXP_MBDT_Test\Blink_mbd_rtw &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;amp;gt; set MATLAB=C:\Program Files\MATLAB\R2023a &lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;C:\Users\xxxxxx\xxxxxx\17_MATLAB\03_NXP_MBDT_Test\Blink_mbd_rtw &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;amp;gt; cd . &lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;C:\Users\xxxxxx\xxxxxx\17_MATLAB\03_NXP_MBDT_Test\Blink_mbd_rtw &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;amp;gt; if "all" == "" ("C:\PROGRA~1\MATLAB\R2023a\bin\win64\gmake" COPY_MDLREF_INCLUDES=0 -f Blink.mk all ) else ("C:\PROGRA~1\MATLAB\R2023a\bin\win64\gmake" COPY_MDLREF_INCLUDES=0 -f Blink.mk all )&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;"C:/PROGRA~1/MATLAB/R2023a/sys/lcc64/lcc64/bin/lcc64" -c -w -noregistrylookup -nodeclspec -IC:/PROGRA~1/MATLAB/R2023a/sys/lcc64/lcc64/include64 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DTID01EQ=0 -DMODEL=Blink -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/Users/xxxxxx/ONEDRI~2/17_MAT~1/03_NXP~1 -IC:/Users/xxxxxx/ONEDRI~2/17_MAT~1/03_NXP~1/Blink_mbd_rtw -IC:/PROGRA~1/MATLAB/R2023a/extern/include -IC:/PROGRA~1/MATLAB/R2023a/simulink/include -IC:/PROGRA~1/MATLAB/R2023a/rtw/c/src -IC:/PROGRA~1/MATLAB/R2023a/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2023a/rtw/c/ert -Fo"Blink.obj" "C:\Users\xxxxxx\ONEDRI~2\17_MAT~1\03_NXP~1\Blink_mbd_rtw\Blink.c"&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;cpp: c:\users\xxxxxx\onedri~2\17_mat~1\03_nxp~1\blink_mbd_rtw\blink.h:21 c:\users\xxxxxx\onedri~2\17_mat~1\03_nxp~1\blink_mbd_rtw\blink.c:16 Could not find include file "pcc_hw_access.h"&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;cpp: c:\users\xxxxxx\onedri~2\17_mat~1\03_nxp~1\blink_mbd_rtw\blink.h:22 c:\users\xxxxxx\onedri~2\17_mat~1\03_nxp~1\blink_mbd_rtw\blink.c:16 Could not find include file "pins_driver.h"&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Error c:\users\xxxxxx\onedri~2\17_mat~1\03_nxp~1\blink_mbd_rtw\blink.c: 37 undeclared identifier 'PTC'&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Error c:\users\xxxxxx\onedri~2\17_mat~1\03_nxp~1\blink_mbd_rtw\blink.c: 48 undeclared identifier 'PTD'&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Error c:\users\xxxxxx\onedri~2\17_mat~1\03_nxp~1\blink_mbd_rtw\blink.c: 50 undeclared identifier 'PTD'&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Error c:\users\xxxxxx\onedri~2\17_mat~1\03_nxp~1\blink_mbd_rtw\blink.c: 62 undeclared identifier 'PCC'&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Error c:\users\xxxxxx\onedri~2\17_mat~1\03_nxp~1\blink_mbd_rtw\blink.c: 62 undeclared identifier 'PCC_PORTC_CLOCK'&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Error c:\users\xxxxxx\onedri~2\17_mat~1\03_nxp~1\blink_mbd_rtw\blink.c: 65 Syntax error; missing semicolon before `gpioPORTCPin12'&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Error c:\users\xxxxxx\onedri~2\17_mat~1\03_nxp~1\blink_mbd_rtw\blink.c: 65 undeclared identifier 'gpioPORTCPin12'&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Error c:\users\xxxxxx\onedri~2\17_mat~1\03_nxp~1\blink_mbd_rtw\blink.c: 65 illegal expression&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Error c:\users\xxxxxx\onedri~2\17_mat~1\03_nxp~1\blink_mbd_rtw\blink.c: 66 left operand of . has incompatible type 'int'&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Error c:\users\xxxxxx\onedri~2\17_mat~1\03_nxp~1\blink_mbd_rtw\blink.c: 66 undeclared identifier 'PORTC'&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Error c:\users\xxxxxx\onedri~2\17_mat~1\03_nxp~1\blink_mbd_rtw\blink.c: 66 the left hand side of the assignment can't be assigned to&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Error c:\users\xxxxxx\onedri~2\17_mat~1\03_nxp~1\blink_mbd_rtw\blink.c: 67 illegal expression&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Error c:\users\xxxxxx\onedri~2\17_mat~1\03_nxp~1\blink_mbd_rtw\blink.c: 67 Syntax error; missing semicolon before `pinPortIdx'&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Error c:\users\xxxxxx\onedri~2\17_mat~1\03_nxp~1\blink_mbd_rtw\blink.c: 67 undeclared identifier 'pinPortIdx'&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Error c:\users\xxxxxx\onedri~2\17_mat~1\03_nxp~1\blink_mbd_rtw\blink.c: 68 illegal expression&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Error c:\users\xxxxxx\onedri~2\17_mat~1\03_nxp~1\blink_mbd_rtw\blink.c: 68 Syntax error; missing semicolon before `pullConfig'&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Error c:\users\xxxxxx\onedri~2\17_mat~1\03_nxp~1\blink_mbd_rtw\blink.c: 68 undeclared identifier 'pullConfig'&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Error c:\users\xxxxxx\onedri~2\17_mat~1\03_nxp~1\blink_mbd_rtw\blink.c: 68 undeclared identifier 'PORT_INTERNAL_PULL_NOT_ENABLED'&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Error c:\users\xxxxxx\onedri~2\17_mat~1\03_nxp~1\blink_mbd_rtw\blink.c: 69 illegal expression&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Error c:\users\xxxxxx\onedri~2\17_mat~1\03_nxp~1\blink_mbd_rtw\blink.c: 69 Syntax error; missing semicolon before `passiveFilter'&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Error c:\users\xxxxxx\onedri~2\17_mat~1\03_nxp~1\blink_mbd_rtw\blink.c: 69 too many errors&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;gmake: *** [Blink.obj] Error 1&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;C:\Users\xxxxxx\xxxxxx\17_MATLAB\03_NXP_MBDT_Test\Blink_mbd_rtw&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;amp;gt; echo The make command returned an error of 2&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;The make command returned an error of 2&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;C:\Users\xxxxxx\xxxxxx\17_MATLAB\03_NXP_MBDT_Test\Blink_mbd_rtw&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;amp;gt; exit /B 1&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;### Build procedure for Blink aborted due to an error.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I am unsure about:&lt;/P&gt;&lt;P&gt;The interface in Simulink has changed quite a lot since the video where I drew the example from. I am actually unsure, if I am using the correct tool to build. The only 'build'-button I find is in the tab 'hardware' (I think from Simulink Coder?). There I configured the system target file description as 'mbd_s32k.tlc' and the device as NXP / CortexM4.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would be rather sure, there is something wrong with my setup, but what am I missing?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you and best regards,&lt;/P&gt;&lt;P&gt;Alexander&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Sep 2023 02:44:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Trouble-Building-Simulink-Blink-Example-for-S32K144-EVB/m-p/1725848#M8527</guid>
      <dc:creator>aheike</dc:creator>
      <dc:date>2023-09-20T02:44:55Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble Building Simulink Blink-Example for S32K144 EVB</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Trouble-Building-Simulink-Blink-Example-for-S32K144-EVB/m-p/1733245#M8571</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/223125"&gt;@aheike&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Thank you for using MBDT for S32K1xx in your projects.&lt;/P&gt;
&lt;P&gt;The video that you are referring to is indeed obsolete and doesn't reflect the S32K1XX 4.3.0 toolbox layout. I suggest watching the following video that shows a more recent version of the toolbox:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com/pages/get-to-know-the-user-friendly-nxp-mbdt-for-application-development-in-matlab-simulink:TIP-GET-TO-KNOW-THE-USER-FRIENDLY-MBDT-D0609" target="_self"&gt;Get to Know the User-Friendly NXP MBDT for Application Development in MATLAB/Simulink&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;We include in the toolbox examples that were tested on multiple evaluation boards and are ready to go. You can simply run an example like GPIO that blinks an LED. You can find it in the Examples directory of the toolbox: &lt;STRONG&gt;NXP_MBDToolbox_S32K1xx\S32_Examples\s32k14x\gpio\gpio_s32k144.mdl&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;In case you want to create a new model, there is no need to configure the &lt;STRONG&gt;Code generation system target file&lt;/STRONG&gt; and the &lt;STRONG&gt;Device &lt;/STRONG&gt;in model configuration. The&amp;nbsp;&lt;STRONG&gt;MBD_S32K1xx_Config_Information &lt;/STRONG&gt;block automatically updates the model settings for the S32K1xx target.&amp;nbsp;All you have to do is drag it into your new model.&lt;/P&gt;
&lt;P&gt;Let me know if you managed to run an example on your evaluation board.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Victor&lt;/P&gt;</description>
      <pubDate>Tue, 03 Oct 2023 16:13:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Trouble-Building-Simulink-Blink-Example-for-S32K144-EVB/m-p/1733245#M8571</guid>
      <dc:creator>georgevictor</dc:creator>
      <dc:date>2023-10-03T16:13:14Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble Building Simulink Blink-Example for S32K144 EVB</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Trouble-Building-Simulink-Blink-Example-for-S32K144-EVB/m-p/1734040#M8576</link>
      <description>&lt;P&gt;Dear&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/193072"&gt;@georgevictor&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for the advice, I got to work the example in the more updated tutorial!&lt;/P&gt;&lt;P&gt;One thing, that I learned in the tutorial and that might be worth pointing out is, that there the &lt;U&gt;embedded coder&lt;/U&gt; as a MATLAB / Simulink app is used for the compilation. I am not sure, if the same result can be achieved by one of the other 'compile' or 'build' or 'build and deploy'-buttons in other apps. This is a bit confusing.&lt;/P&gt;&lt;P&gt;I hope to be back with more sophisticated questions from more relevant use-cases. &lt;LI-EMOJI id="lia_slightly-smiling-face" title=":slightly_smiling_face:"&gt;&lt;/LI-EMOJI&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Alexander&lt;/P&gt;</description>
      <pubDate>Thu, 05 Oct 2023 06:13:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Trouble-Building-Simulink-Blink-Example-for-S32K144-EVB/m-p/1734040#M8576</guid>
      <dc:creator>aheike</dc:creator>
      <dc:date>2023-10-05T06:13:43Z</dc:date>
    </item>
  </channel>
</rss>

