How can i set input command for undefined variable?

I have a input.
x_ang = [0 0 15 15 30, fliplr([0 0 15 15 30])];% [X,NN] = RunLength(x_ang);
it = 10; x=4;y=10;
if a comment on x_ang,
%x_ang = [0 0 15 15 30, fliplr([0 0 15 15 30])];% [X,NN] = RunLength(x_ang);
and if "x_ang" is not available, then i want to input automatically x_ang, then how can i make condition for this?

 采纳的回答

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 Characters and Strings 的更多信息

产品

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by