Visual Basic Code If Function Matlab Syntax Error