Hello utkuckmgl@gmail.com ,
Ok, thank you for the information. Now regarding the building / importing -- can you go through the steps you took? For the building process, you just have to hit the build button (or CTRL + B). I have to mention the fact that if you want to take the code generated and import it into S32 Design Studio, you have to have an option set in the main configuration block (where you select the MCU for which the application is built, among other things). Here, in the Build toolchain tab you'll find 'Generate S32 Design Studio ProjectInfo.xml file' -- make sure this is enabled (checked).
After the build is done, a file with the name ProjectInfo.xml should be generated. You can go into S32Design Studio -> Import -> S32Design Studio -> ProjectInfo.xml Importer

From there you just browse and select your ProjectInfo.xml file. Let me know if it works after you do all these steps I described.
Kind regards,
Razvan.
P.S.: you can find an introductory video about MBDT here Get to Know the User-Friendly NXP MBDT for Application Development in MATLAB/Simulink | NXP . I thought this might be helpful. It is part of a 4-video mini-series. You can find the other 3 linked on the same page. The other topics are SPI communication, CAN communication and PWM.