Robuta

https://uk.mathworks.com/help/matlab/ref/mustbetextscalar.html mustBeTextScalar - Validate that value is single piece of text - MATLAB This MATLAB function throws an error if value is not a text scalar. single piecevalidatevaluetextmatlab