MATLAB does not have any "if loop", and I am not aware of any computer language that does.
"for" loops have their body repeated a fixed number of times.
"while" loops repeat their body until a condition becomes false, testing the condition first.
"until" loops repeat their body until a condition becomes true, doing the body once before first testing the condition. MATLAB does not implement "until", but it can be simulated using "while true" and testing the condition at the end with "break" if it is met.
"if" executes the body zero times (if the condition is false) or one time (if the condition is true.) "if" does not loop.