stepper moter

hello
i have a project with my university and ive never worked with arduino before
i need to interface the arduino and matlab to control a stepper motor
i found some codes in the internet but i dont understand how to do it
can u help me with that?

im trying to interface matlab and arduino to control stepper motor
and i got a code from the internet and i get this massage

" 'i2c_ihit' was not declared in this scope "
and

"adiosrv:553: error: 'i2c_stop' was not declared in this scope"

what do i need to do?

what do i need to do?

Read the "How to Post" instructions, and follow them

Please do not cross-post. Threads merged / removed.

You need to post all of your code.
You have given us no idea of what you have achieved - for example
do you know how to make your stepper motor move without Matlab?
do you know how to make Matlab communicate with an Arduino without any stepper motor involved?

I don't want to waste my time giving you advice that you don't need.

...R

got to the forum home page and then click on the

how to use this forum

then click on that and read the first 10 steps.