There is no high resolution event interruption timer in MATLAB. The highest resolution interruption timer runs at 1 KHz nominally, but it is not very precise.
If you want to make a recording for a particular length of time, the easiest way is to specify the number of frames to record.