MATLAB: What does this mean

invalid operator

fprintf('\nIteration number = %d \n', m);
fprintf('\nIteration number = %d \n', m);
Error: Invalid use of operator.
How can I fix this?

Best Answer

fprintf('\nIteration number = %d \n', m);