Skip to content

xychk

matlab_compat · scripts/matlab_compat/wave5/xychk.m

: msg = xychk (x, y, …)
: [msg, xo, yo] = xychk (x, y, …)

Argument check used by plotting functions. msg is empty when x and y (if given) are numeric or logical and "X and Y must be numeric" otherwise. No error is raised and the sizes are not compared. The second and third outputs return x and y.