Triggering multiple output pins of Arduino simultaneously from simulink

Using DigitatWrite command in Arduino for multiple pins creates a delay, which can be solved as follows.

PORTB = 0b00110000; (Pin 12 and 13 becomes high simultameously)

However, when I use simulink for the same purpose, there is a 30 us delay between the pin 12 and pin 13 high time.
How the delay time can be reduced to zero?
Arduino1

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.