Hello Razvan,
My Matlab/Simulink is installed in the default directory "C:\Program Files\Matlab\R2017.
and the "sf_runtime" folder is in the following directory on my laptop
C:\Program Files\MATLAB\R2017b\simulink\include\sf_runtime
I installed NXP_MBDToolbox_S32K1xx in the following directory
C:\MATLAB\Add-Ons\Toolboxes\NXP_MBDToolbox_S32K1xx
I don't know why the GCC 6.3 compiler goes to "-ID:\Simulink\includes\sf_runtime". The "D" drive is the "S32K148EVB" connected to my laptop.
the weird thing is that GCC4.9 compiler goes to "-IE:\Simulink\includes\sf_runtime". but it completed building the ".mot" code.
the compiler info:
>> getenv('GCC_S32K_TOOL')
ans = 'C:\MATLAB\Add-Ons\Toolboxes\NXP_MBDToolbox_S32K1xx\code\tools\gcc-6.3-arm32-eabi'
My Matlab version info:
>> ver
-----------------------------------------------------------------------------------------------------
MATLAB Version: 9.3.0.713579 (R2017b)
MATLAB License Number: 40548050
Operating System: Microsoft Windows 7 Enterprise Version 6.1 (Build 7601: Service Pack 1)
Java Version: Java 1.8.0_121-b13 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
-----------------------------------------------------------------------------------------------------
MATLAB Version 9.3 (R2017b)
Simulink Version 9.0 (R2017b)
Control System Toolbox Version 10.3 (R2017b)
Embedded Coder Version 6.13 (R2017b)
Fuzzy Logic Toolbox Version 2.3 (R2017b)
MATLAB Coder Version 3.4 (R2017b)
Model-Based Design Toolbox for S32K1xx Series Version 2018.R1 (R2016b-R2018a)
New Eagle RPG Builder Version 0.0.21
Raptor Version 2017b_0.2.1711 (3515_1711)
Simulink Coder Version 8.13 (R2017b)
Simulink Control Design Version 5.0 (R2017b)
Stateflow Version 9.0 (R2017b)
System Identification Toolbox Version 9.7 (R2017b)
Thanks,