In my code I try to use an 'if' operator to check whether a number is odd or even, so the code knows whether to proceed. So something like this:
if testtype(j, Type::Odd) = TRUE statementsend
But that just gives the error:
Unexpected MATLAB operator.
Best Answer