Hi Fikret,
I understand that you want to create a project for making LED blink using CubeMX and Simulink.
I suggest you to refer to the following link for configuring STM32 Processor-Based Boards using STM32CubeMX with Simulink :-
For creating project on blinking LED in Simulink , please refer the following example :-
I hope this provides the relevant information.