@mariuslucianand Hello,marius
Thank you very much for replying.
What I want to know is that if have a C code(like _nop() or dely function) can be used in the matlab function to make a accurate time dely.
Beacuse I want to config a port timing like following.

If there is no such C code , can you tell me further how to implement it by the MBD.
I have used the stateflow to test it.
It seemed that the timing is not accurate.
Thank you very much.
best regards
hao