Simulink Stepper Motor Control using Matlab

Hi im quite new in Arduino and electronics so bear with me.

I have a project to control a step motor using matlab and simulink. For now I just want to get the thing up and runing. I have hooked up the schematic tested it with a simple code for a step motor and it works (this has been done without matlab). My problem is how can i get the motor to run using Simulink and Matlab?

My step motor driver board is ULN2003APG and my motor 28BYJ-48 5V DC.

If there are any existing guides or any examples covering such topics u can redirect me to them.

Thanks in advance :).