I have been importing an XML file from Matlab with MBDT version 4.2.0 to S32 Design Studion ARM 2.2.
When I import a file a notepad pops out with an error as follow "1>C:\NXP\S32DS_ARM_v2.2\S32DS\build_tools\gcc_v4.9\gcc-arm-none-eabi-4_9\arm-none-eabi\newlib\lib\thumb\v7e-m\fpv4-sp\hard\libm.a (The system cannot find the path specified)"
I have checked the Directory but was not able find any such path created during the installation of Design Studio.
The project imported is unable to build.
Hope for Help.
It looks like we are using different compiler versions and the lib that the S32DS complains about is from the GCC version 6.3 and not 4.9 the one that you have.
Now, the toolbox comes directly with the compiler, so the way in which you select which one to be used is by setting the system path variable that points to the compiler.
By default, the Model-Based Design Toolbox comes directly with the compiler and adds the path in the Matlab if the variable is not found declared in the Windows path variable. So in order to check which variable you have set, please type the following command in the Matlab environment.
My result points to the compiler from the toolbox.
Now, if your result is the following,
you have two options:
1. Either go to the Windows' System properties, Environment variables and update the GCC_S32K_TOOL variable value to the:
2. Either go to the Windows' System properties, Environment variables and delete the GCC_S32K_TOOL variable. And Matlab will use the compiler provided with our toolbox which is the same as the one from the S32DS_ARM_v2.2.
In both cases, you have to restart Matlab after changing the already defined GCC_S32K_TOOL variable path.
Hope this helps,
I have installed the ToolBox in an other PC and all seems to work fine.
I guess I have to reinstall Tollbox in the system in which I am facing the Error.
Thanks for Your Support
Hello @rathi_tg ,
I am glad it works, even if it is on a different machine
I don't suspect this is necessarily related to the toolbox installation. Have you deleted the system variable? If not, and just updated it to the 6.3 let's delete the path variable and let Matlab to set it's own compiler from the toolbox.
Hope this helps,